mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-22 21:32:39 +00:00
fix Planetoids OOB access
This commit is contained in:
parent
f2d72c331b
commit
d52883974c
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by qkumba
|
||||
;(c) 2021, 2024 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/PLANETOIDS",plain
|
||||
@ -18,9 +18,17 @@
|
||||
lda #$A9
|
||||
sta $1570
|
||||
+
|
||||
lda #<callback
|
||||
sta $81C
|
||||
lda #>callback
|
||||
sta $81D
|
||||
+DISABLE_ACCEL
|
||||
jmp $800
|
||||
|
||||
callback
|
||||
jsr $FC58
|
||||
jmp $96B
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user