mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
Move patch saving code to PatchEngine
This commit is contained in:
parent
4816195366
commit
fb96ecb7da
3 changed files with 54 additions and 48 deletions
|
@ -42,8 +42,9 @@ struct Patch
|
|||
const char* PatchTypeAsString(PatchType type);
|
||||
|
||||
int GetSpeedhackCycles(const u32 addr);
|
||||
void LoadPatchSection(const std::string& section, std::vector<Patch>& patches, IniFile& globalIni,
|
||||
IniFile& localIni);
|
||||
void LoadPatchSection(const std::string& section, std::vector<Patch>* patches,
|
||||
const IniFile& globalIni, const IniFile& localIni);
|
||||
void SavePatchSection(IniFile* local_ini, const std::vector<Patch>& patches);
|
||||
void LoadPatches();
|
||||
bool ApplyFramePatches();
|
||||
void Shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue