all repos — mgba @ 774a292384425db2594a227f4f137ba954e20da0

mGBA Game Boy Advance Emulator

GBA Hardware: Fix e-Reader crash on reset (fixes #1675)
Vicki Pfau vi@endrift.com
Thu, 20 Feb 2020 18:10:37 -0800
commit

774a292384425db2594a227f4f137ba954e20da0

parent

6055c4e8dbdf408f7a1a6dc367e5e6e2b9846cac

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gba/hardware.csrc/gba/hardware.c

@@ -168,6 +168,7 @@ hw->direction = 0;

if (hw->eReaderDots) { mappedMemoryFree(hw->eReaderDots, EREADER_DOTCODE_SIZE); + hw->eReaderDots = NULL; } if (hw->p->sio.drivers.normal == &hw->gbpDriver.d) {