diff options
| author | Jordan Longstaff <JordanLongstaff@users.noreply.github.com> | 2026-09-08 15:42:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-08 15:42:03 -0400 |
| commit | 2e211bf0ae85c108b949fc6f58ffc76a37003ad3 (patch) | |
| tree | 05e079c1e5d56223654d76ad3474e194a482e00b /mm/src/code | |
| parent | e26240d6f670f4ed4b7a2a4a79a8fd64640d0a10 (diff) | |
Save Persistent Bunny Hood state in file info (#1933)
* Save Persistent Bunny Hood state in file info
* Static methods
Diffstat (limited to 'mm/src/code')
| -rw-r--r-- | mm/src/code/z_sram_NES.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/src/code/z_sram_NES.c b/mm/src/code/z_sram_NES.c index ad3ee5f32..0c273e113 100644 --- a/mm/src/code/z_sram_NES.c +++ b/mm/src/code/z_sram_NES.c @@ -1015,6 +1015,7 @@ void Sram_InitNewSave(void) { memcpy(&gSaveContext.save.shipSaveInfo.commitHash, &gGitCommitHash, sizeof(gSaveContext.save.shipSaveInfo.commitHash)); gSaveContext.save.shipSaveInfo.pauseSaveEntrance = -1; + gSaveContext.save.shipSaveInfo.persistentBunnyHood = false; gSaveContext.save.shipSaveInfo.saveType = SAVETYPE_VANILLA; gSaveContext.save.shipSaveInfo.fileCreatedAt = 0; gSaveContext.save.shipSaveInfo.fileCompletedAt = 0; @@ -1247,6 +1248,7 @@ void Sram_InitDebugSave(void) { memcpy(&gSaveContext.save.shipSaveInfo.commitHash, &gGitCommitHash, sizeof(gSaveContext.save.shipSaveInfo.commitHash)); gSaveContext.save.shipSaveInfo.pauseSaveEntrance = -1; + gSaveContext.save.shipSaveInfo.persistentBunnyHood = false; gSaveContext.save.shipSaveInfo.saveType = SAVETYPE_VANILLA; gSaveContext.save.shipSaveInfo.fileCreatedAt = 0; gSaveContext.save.shipSaveInfo.fileCompletedAt = 0; |
