small optimization of panic routine

This commit is contained in:
FeralChild64 committed 2019-10-13 15:09:43 +02:00
1 parent 5a231c1847
commit 5c02adae3e
1 file changed
+5 -8
+5 -8
View File
@@ -60,18 +60,15 @@ panic:
kernal_panic_infinite_loop:
ldx #$00
stx VIC_EXTCOL
ldx #$80
!:
dex
bne !-
inx
bpl !-
ldx #$06
stx VIC_EXTCOL
!:
dex
bne !-
beq kernal_panic_infinite_loop // branch always
nop
bne kernal_panic_infinite_loop // branch always
#endif // CONFIG_PANIC_SCREEN