Skip to content

Commit

Permalink
wPrinterQueueLength values are divisible by 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed May 23, 2024
1 parent b81e339 commit de0d5c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/printer/printer.asm
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ PrintDexEntry:
push af
ld [hl], VBLANK_SERIAL

ld a, 8 ; 16 rows
ld a, 16 / 2
ld [wPrinterQueueLength], a
call Printer_ResetJoypadRegisters
call SendScreenToPrinter
Expand All @@ -90,7 +90,7 @@ PrintDexEntry:
ld [wPrinterMargins], a
farcall PrintPage2
call Printer_ResetJoypadRegisters
ld a, 4
ld a, 8 / 2
ld [wPrinterQueueLength], a
call SendScreenToPrinter

Expand Down

0 comments on commit de0d5c2

Please sign in to comment.