Mercurial > repos > blastem
comparison menu.s68 @ 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 | 4360cb5960c8 |
children | 4a14d80584b6 |
comparison
equal
deleted
inserted
replaced
1009:883fe974f72b | 1010:edab85c29d4d |
---|---|
682 ;a5 - menu pointer | 682 ;a5 - menu pointer |
683 ;d6 - initial Y position of menu | 683 ;d6 - initial Y position of menu |
684 draw_menu: | 684 draw_menu: |
685 moveq #0, d7 | 685 moveq #0, d7 |
686 moveq #0, d5 | 686 moveq #0, d5 |
687 ;clear out save slot state | |
688 move.b d5, num_slots.w | |
687 ;select first item | 689 ;select first item |
688 move.b d7, selected.w | 690 move.b d7, selected.w |
689 ;save menu pointer for second pass | 691 ;save menu pointer for second pass |
690 movea.l a5, a4 | 692 movea.l a5, a4 |
691 ;adjust arrow mask | 693 ;adjust arrow mask |