explicitly compare read result with zero now that under ROM routines preserve P
This commit is contained in:
1 parent
66964ab567
commit
f14cf20c92
1 file changed
+2
@@ -4,9 +4,11 @@
|
||||
peek_pointer_null_check:
|
||||
ldy #$00
|
||||
jsr peek_under_roms
|
||||
cmp #$00
|
||||
bne ptr_not_null
|
||||
iny
|
||||
jsr peek_under_roms
|
||||
cmp #$00
|
||||
bne ptr_not_null
|
||||
|
||||
;; Pointer is NULL
|
||||
|
||||
Reference in new issue
Block a user