diff options
| author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-10-30 12:26:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-30 12:26:04 -0400 |
| commit | d831e40b99853c8e29e3939bb100b6ecf03b1028 (patch) | |
| tree | 7d97e9277ee405a77046481100bf11adbc325367 /engine/printer | |
| parent | 26ddba8cfd8f035c06bd6419b64a6c4d7dbc226f (diff) | |
| parent | db72c5103e807c4960ff62ca1764cac151288586 (diff) | |
Merge pull request #64 from Rangi42/unreferenced
Comment, remove, or revise many unreferenced labels
Diffstat (limited to 'engine/printer')
| -rw-r--r-- | engine/printer/printer.asm | 4 | ||||
| -rw-r--r-- | engine/printer/printer_serial.asm | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/engine/printer/printer.asm b/engine/printer/printer.asm index a6e0f956..5b17c52f 100644 --- a/engine/printer/printer.asm +++ b/engine/printer/printer.asm @@ -443,9 +443,11 @@ CheckCancelPrint: ret .pressed_b - ld a, [wc980] + ld a, [wUnusedGameboyPrinterSafeCancelFlag] cp $0c jr nz, .cancel + +; wait for printer activity to finish before canceling? .loop ld a, [wPrinterOpcode] and a diff --git a/engine/printer/printer_serial.asm b/engine/printer/printer_serial.asm index 9d0bd907..f717ad38 100644 --- a/engine/printer/printer_serial.asm +++ b/engine/printer/printer_serial.asm @@ -304,7 +304,7 @@ Printer_ResetData: xor a ld [wPrinterSendByteCounter], a ld [wPrinterSendByteCounter + 1], a - ld hl, wGameboyPrinterRAM + ld hl, wGameboyPrinter2bppSource ld bc, wGameboyPrinter2bppSourceEnd - wGameboyPrinter2bppSource call Printer_ByteFill ret @@ -435,10 +435,10 @@ PrinterDataPacket3: PrinterDataPacket4: db 4, 0, $00, 0 dw 4 -PrinterDataPacket5: ; unused +PrinterDataPacket5: ; unreferenced db 8, 0, $00, 0 dw 8 -PrinterDataPacket6: ; unused +PrinterDataPacket6: ; unreferenced db 15, 0, $00, 0 dw 15 |
