mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 06:25:20 -04:00
dmnt-cheat: Add support for saving/restoring cheat toggle state
This commit is contained in:
parent
20ba6432b9
commit
f4950ff26e
3 changed files with 333 additions and 157 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue