explicitly compare read result with zero now that under ROM routines preserve P

This commit is contained in:
Paul Gardner-Stephen committed 2019-05-05 00:54:53 +09:30
1 parent 66964ab567
commit f14cf20c92
1 file changed
+2
+2
View File
@@ -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