mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
BPS standardization edits. * Clean up headers. * Move crc32.c to /crypto/. * Rename beat.c to bps.c and move it to /system/ with the rest of the non-3DS file formats. Allocate memory for Source and Target files when possible. Last-minute BPS improvements. * BPS fails more gracefully on error, freeing memory and showing a more detailed message. * BPM no longer deletes the folder it patches to - that should be up to the user. * BPM is scanned before patching to figure out the total output file size for a more accurate progress bar. Add IPS support.
10 lines
468 B
C
10 lines
468 B
C
// C port of byuu's \nall\beat\patch.hpp and \multi.hpp, which were released under GPLv3
|
|
// https://github.com/eai04191/beat/blob/master/nall/beat/patch.hpp
|
|
// https://github.com/eai04191/beat/blob/master/nall/beat/multi.hpp
|
|
// Ported by Hyarion for use with VirtualFatFS
|
|
|
|
#pragma once
|
|
|
|
int ApplyBPSPatch(const char* modifyName, const char* sourceName, const char* targetName);
|
|
int ApplyBPMPatch(const char* patchName, const char* sourcePath, const char* targetPath);
|