changeset 1010:edab85c29d4d

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
author Michael Pavone <pavone@retrodev.com>
date Sun, 01 May 2016 22:21:58 -0700
parents 883fe974f72b
children 4a14d80584b6
files menu.s68
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/menu.s68	Sun May 01 22:07:37 2016 -0700
+++ b/menu.s68	Sun May 01 22:21:58 2016 -0700
@@ -684,6 +684,8 @@
 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