mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-29 19:00:17 +00:00
Make ApplyIPS static and private
This commit is contained in:
parent
05c1816504
commit
92f8b71137
1 changed files with 6 additions and 8 deletions
|
@ -249,14 +249,6 @@ public:
|
||||||
*/
|
*/
|
||||||
Loader::ResultStatus ReadRomFS(std::shared_ptr<RomFSReader>& romfs_file);
|
Loader::ResultStatus ReadRomFS(std::shared_ptr<RomFSReader>& romfs_file);
|
||||||
|
|
||||||
/**
|
|
||||||
* Attempts to patch a buffer using an IPS
|
|
||||||
* @param ips Vector of the patches to apply
|
|
||||||
* @param buffer Vector to patch data into
|
|
||||||
* @return Void
|
|
||||||
*/
|
|
||||||
void ApplyIPS(std::vector<u8>& ips, std::vector<u8>& buffer);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the override RomFS of the NCCH container
|
* Get the override RomFS of the NCCH container
|
||||||
* Since the RomFS can be huge, we return a file reference instead of copying to a buffer
|
* Since the RomFS can be huge, we return a file reference instead of copying to a buffer
|
||||||
|
@ -302,6 +294,12 @@ public:
|
||||||
ExHeader_Header exheader_header;
|
ExHeader_Header exheader_header;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
/**
|
||||||
|
* Attempts to patch a buffer using an IPS
|
||||||
|
* @param ips Vector of the patches to apply
|
||||||
|
* @param buffer Vector to patch data into
|
||||||
|
*/
|
||||||
|
static void ApplyIPS(std::vector<u8>& ips, std::vector<u8>& buffer);
|
||||||
bool has_header = false;
|
bool has_header = false;
|
||||||
bool has_exheader = false;
|
bool has_exheader = false;
|
||||||
bool has_exefs = false;
|
bool has_exefs = false;
|
||||||
|
|
Loading…
Reference in a new issue