GB Printer: Reset printer buffer index after printing
Vicki Pfau vi@endrift.com
Thu, 01 Aug 2019 20:11:12 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -35,6 +35,7 @@ - GB Audio: Deschedule channel 1 when disabled by sweep (fixes mgba.io/i/1467)
- GBA Memory: Fix STM/LDM to invalid VRAM - GB: Fix savedata initialization (fixes mgba.io/i/1473, mgba.io/i/1478) - GB Memory: Better emulate 0xFEA0 region on DMG, MGB and AGB + - GB Printer: Reset printer buffer index after printing Other fixes: - Qt: Fix some Qt display driver race conditions - Core: Improved lockstep driver reliability (Le Hoang Quyen)
M
src/gb/sio/printer.c
→
src/gb/sio/printer.c
@@ -222,6 +222,7 @@ }
printer->print(printer, printer->currentIndex * 4 / GB_VIDEO_HORIZONTAL_PIXELS, printer->buffer); } printer->printWait = -1; + printer->currentIndex = 0; } else if (printer->printWait > 0) { --printer->printWait; }