GBA Memory: Fix value obtained from missing SRAM

This commit is contained in:
Jeffrey Pfau 2014-12-20 05:17:29 -08:00
parent da612b51e8
commit f57b47b3f2
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ int8_t GBALoad8(struct ARMCore* cpu, uint32_t address, int* cycleCounter) {
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: