GBA Memory: Fix value obtained from missing SRAM
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Dec 2014 05:17:29 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/gba-memory.c
→
src/gba/gba-memory.c
@@ -446,7 +446,7 @@ } else if (memory->savedata.type == SAVEDATA_FLASH512 || memory->savedata.type == SAVEDATA_FLASH1M) {
value = GBASavedataReadFlash(&memory->savedata, address); } else { GBALog(gba, GBA_LOG_GAME_ERROR, "Reading from non-existent SRAM: 0x%08X", address); - value = 7; + value = 0xFF; } break; default: