mirror of
https://github.com/a2-4am/4cade.git
synced 2025-03-01 12:30:33 +00:00
fix browse mode wrapping on 256th game
This commit is contained in:
parent
ff703a0010
commit
a89a638896
@ -75,6 +75,7 @@ OnBrowsePrevious
|
||||
; A/Y = gGameToLaunch
|
||||
bcs @goToLastGame ; if no game selected, select last game
|
||||
tax ; X/Y = gGameToLaunch
|
||||
tya ; set up first comparison in CPX16 macro
|
||||
+CPX16_0_NE @notFirstGame ; if first game selected, select last game
|
||||
@goToLastGame
|
||||
+LDX16 GameCount
|
||||
|
Loading…
x
Reference in New Issue
Block a user