GBA Hardware: Fix e-Reader crash on reset (fixes #1675)

This commit is contained in:
Vicki Pfau 2020-02-20 18:10:37 -08:00
parent 6055c4e8db
commit 774a292384
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ void GBAHardwareClear(struct GBACartridgeHardware* hw) {
if (hw->eReaderDots) {
mappedMemoryFree(hw->eReaderDots, EREADER_DOTCODE_SIZE);
hw->eReaderDots = NULL;
}
if (hw->p->sio.drivers.normal == &hw->gbpDriver.d) {