Fixed the save type changing to SRAM on reset, if the game had been overridden to use EEPROM.
This commit is contained in:
parent
2ec24487c3
commit
066f2e80d6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue