From 8a475f94bc02f9c386a495a06f5f7511eb1514fc Mon Sep 17 00:00:00 2001 From: InsaneFirebat Date: Wed, 2 Sep 2026 14:01:51 -0400 Subject: [PATCH] Fix potential crash in preset loading $82E139 was overwritten for the hitbox viewer color feature --- src/main.asm | 2 +- src/presets.asm | 2 +- web/data/changelog.mdx | 1 + web/data/config.json | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.asm b/src/main.asm index 44a0d43e..1edf5230 100644 --- a/src/main.asm +++ b/src/main.asm @@ -17,7 +17,7 @@ lorom !VERSION_MAJOR = 2 !VERSION_MINOR = 7 !VERSION_BUILD = 11 -!VERSION_REV = 0 +!VERSION_REV = 1 table ../resources/normal.tbl print "" diff --git a/src/presets.asm b/src/presets.asm index 99837cd2..f497dbfa 100644 --- a/src/presets.asm +++ b/src/presets.asm @@ -758,7 +758,7 @@ endif JSL Randomize_Preset_Equipment JSL $90AC8D ; Update beam graphics - JSL $82E139 ; Load target colours for common sprites, beams and slashing enemies / pickups + JSL load_common_target_colors if !FEATURE_PAL JSL $A08A2E else ; Load enemies diff --git a/web/data/changelog.mdx b/web/data/changelog.mdx index 1d2868e6..8b15a48b 100644 --- a/web/data/changelog.mdx +++ b/web/data/changelog.mdx @@ -68,6 +68,7 @@ - Minor updates to KPDR Kraid presets (2.7.10) - Fix PAL bug where skipping a frame of gameplay could result in segment timer overflowing (2.7.11) - New option to save two tinystates instead of one full savestate (2.7.11) +- Fix potential crash when loading presets (2.7.11.1) # Version 2.6.x - Optimize kraid rock projectiles to reduce lag when Kraid rises (2.6.0) diff --git a/web/data/config.json b/web/data/config.json index 07ed2095..329bc376 100644 --- a/web/data/config.json +++ b/web/data/config.json @@ -1,6 +1,6 @@ { "name": "Super Metroid Practice Hack", - "version": "2.7.11", + "version": "2.7.11.1", "variants": ["NTSC", "PAL"], "base": { "NTSC": {