cpeekcolor: don't stash and restore I flag or CRAM2K

This commit is contained in:
Dan Sanderson
2025-11-20 18:03:38 -08:00
parent d2f91a8116
commit c14f2b7252

View File

@@ -18,18 +18,17 @@ _cpeekcolor:
lda SCREEN_PTR
sta ptr1
php
sei
lda $D030
pha
ora #$01
sta $D030
ldy #0
lda (ptr1),y
tay
pla
lda $D030
and #$FE
sta $D030
plp
cli
tya
ldx #>$0000