From 7bebf3dc065592cb3eb35ddda70e62136096e9f0 Mon Sep 17 00:00:00 2001 From: idle Date: Wed, 26 Feb 2025 12:26:59 -0600 Subject: [PATCH] Fix issue with savestate settings auto-save options --- src/main.asm | 2 +- src/mainmenu.asm | 4 ++-- web/data/changelog.mdx | 1 + web/data/config.json | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main.asm b/src/main.asm index 2dca138a..ad7523e6 100644 --- a/src/main.asm +++ b/src/main.asm @@ -16,7 +16,7 @@ lorom !VERSION_MAJOR = 2 !VERSION_MINOR = 6 !VERSION_BUILD = 6 -!VERSION_REV = 0 +!VERSION_REV = 1 table ../resources/normal.tbl print "" diff --git a/src/mainmenu.asm b/src/mainmenu.asm index 8a871df8..305bfa6b 100644 --- a/src/mainmenu.asm +++ b/src/mainmenu.asm @@ -2819,10 +2819,10 @@ save_freeze: %cm_toggle("Freeze on Load State", !ram_freeze_on_load, #$0001, #0) save_middoorsave: - %cm_toggle("Auto-Save Mid-Door", !ram_auto_save_state, #$0001, #0) + %cm_toggle_bit("Auto-Save Mid-Door", !ram_auto_save_state, #$0001, #0) save_alwayssave: - %cm_toggle("Auto-Save Every Door", !ram_auto_save_state+1, #$80, #0) + %cm_toggle_bit("Auto-Save Every Door", !ram_auto_save_state, #$8000, #0) save_delete: %cm_jsl("DEV Delete Savestate", .routine, #$DEAD) diff --git a/web/data/changelog.mdx b/web/data/changelog.mdx index 966fee18..46da2350 100644 --- a/web/data/changelog.mdx +++ b/web/data/changelog.mdx @@ -26,6 +26,7 @@ - Added draygon turret rng and infinite-doppler mode for Phantoon (2.6.6) - Added Super HUD and various other infohud modes and room strats (2.6.6) - Added custom HUD number graphics and Be Right Back screen (2.6.6) +- Fix issue with savestate settings auto-save options (2.6.6.1) # Version 2.5.x - Added a separate version of savestates for MiSTer, Everdrives, and most modern emulators (not SNES Classic/VC) (2.5.0) diff --git a/web/data/config.json b/web/data/config.json index 5c462f72..55213413 100644 --- a/web/data/config.json +++ b/web/data/config.json @@ -1,6 +1,6 @@ { "name": "Super Metroid Practice Hack", - "version": "2.6.6", + "version": "2.6.6.1", "variants": ["NTSC", "PAL"], "base": { "NTSC": {