dmnt-cheat: Add support for saving/restoring cheat toggle state

This commit is contained in:
Michael Scire committed 2019-03-25 10:35:08 -07:00
1 parent 20ba6432b9
commit f4950ff26e
3 files changed
+333 -157

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -42,8 +42,13 @@ class DmntCheatManager {
static void ResetAllCheatEntries();
static CheatEntry *GetFreeCheatEntry();
static CheatEntry *GetCheatEntryById(size_t i);
static CheatEntry *GetCheatEntryByReadableName(const char *readable_name);
static bool ParseCheats(const char *cht_txt, size_t len);
static bool LoadCheats(u64 title_id, const u8 *build_id);
static bool ParseCheatToggles(const char *s, size_t len);
static bool LoadCheatToggles(u64 title_id);
static void SaveCheatToggles(u64 title_id);
static void ResetFrozenAddresses();
public: