summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-05-01 22:21:58 -0700
committerMichael Pavone <pavone@retrodev.com>2016-05-01 22:21:58 -0700
commite2947c1350247fc7c0b9ffbaa92b90235ab97594 (patch)
tree0411fce778c939b0c5b9c999d5b34df8dbbc265c
parent096ea6fc83699e30a1a53e4314487d1ba3e46e2c (diff)
Fix bug in which trying to load another ROM after saving or loading a savestate through the menu resulted in trying to save/load a savestate instead
-rw-r--r--menu.s682
1 files changed, 2 insertions, 0 deletions
diff --git a/menu.s68 b/menu.s68
index 72eed6e..fd8ecc0 100644
--- a/menu.s68
+++ b/menu.s68
@@ -684,6 +684,8 @@ draw_button:
draw_menu:
moveq #0, d7
moveq #0, d5
+ ;clear out save slot state
+ move.b d5, num_slots.w
;select first item
move.b d7, selected.w
;save menu pointer for second pass