Bit 7 of wJumptableIndex is often JUMPTABLE_EXIT_F
This commit is contained in:
@@ -4,7 +4,7 @@ SendScreenToPrinter:
|
||||
call CheckCancelPrint
|
||||
jr c, .cancel
|
||||
ld a, [wJumptableIndex]
|
||||
bit 7, a
|
||||
bit JUMPTABLE_EXIT_F, a
|
||||
jr nz, .finished
|
||||
call PrinterJumptableIteration
|
||||
call CheckPrinterStatus
|
||||
@@ -245,7 +245,7 @@ PrintUnownStamp:
|
||||
call CheckCancelPrint
|
||||
jr c, .done
|
||||
ld a, [wJumptableIndex]
|
||||
bit 7, a
|
||||
bit JUMPTABLE_EXIT_F, a
|
||||
jr nz, .done
|
||||
call PrinterJumptableIteration
|
||||
ld a, [wJumptableIndex]
|
||||
|
@@ -56,7 +56,7 @@ Printer_Quit:
|
||||
xor a
|
||||
ld [wPrinterStatusFlags], a
|
||||
ld hl, wJumptableIndex
|
||||
set 7, [hl]
|
||||
set JUMPTABLE_EXIT_F, [hl]
|
||||
ret
|
||||
|
||||
Printer_NextSection:
|
||||
|
Reference in New Issue
Block a user