Fixed the save type changing to SRAM on reset, if the game had been overridden to use EEPROM.

This commit is contained in:
skidau 2015-05-24 14:49:28 +00:00
parent 2ec24487c3
commit 066f2e80d6
1 changed files with 3 additions and 0 deletions

View File

@ -161,6 +161,9 @@ u8 flashRead(u32 address)
void flashSaveDecide(u32 address, u8 byte) void flashSaveDecide(u32 address, u8 byte)
{ {
if (saveType == 1)
return;
// log("Deciding save type %08x\n", address); // log("Deciding save type %08x\n", address);
if(address == 0x0e005555) { if(address == 0x0e005555) {
saveType = 3; saveType = 3;