fix pan/zoom bug

was missing an rts on update_palette

this happened to fall through to keycheck
which if timing was wrong would dutifully process the viewport
change and return to update_palette's caller

which in turn was -not- expecting to reset the outer loop

fixed
This commit is contained in:
Brooke Vibber 2024-12-29 12:29:36 -08:00
parent 2b0167226e
commit 0fc5ba914f
2 changed files with 2 additions and 2 deletions

View file

@ -1094,6 +1094,8 @@ done:
and #$f0
adc palette + 3
sta COLOR2
rts
.endproc
.proc update_speed

View file

@ -1,7 +1,5 @@
things to try:
* fix the pan/zoom bug where it doesn't reset loop right :(
* add some preset viewports that can be switched via number keys (1, 2, 3 etc)
* patch the entire expanded-ram imul8xe on top of imul8 to avoid the 3-cycle thunk penalty :D