NES: Fix Zelda SaveRAM fixes #1623

This commit is contained in:
alyosha-tas 2021-11-11 14:26:27 -05:00
parent edfa040b46
commit 5c6a6240ed
1 changed files with 2 additions and 2 deletions

View File

@ -1826,7 +1826,7 @@ namespace BizHawk.Client.EmuHawk
byte[] sram;
// some cores might not know how big the saveram ought to be, so just send it the whole file
if (Emulator is MGBAHawk || Emulator is NeoGeoPort)
if (Emulator is MGBAHawk || Emulator is NeoGeoPort || (Emulator is NES && (Emulator as NES).BoardName == "FDS"))
{
sram = File.ReadAllBytes(saveRamPath);
}
@ -1837,7 +1837,7 @@ namespace BizHawk.Client.EmuHawk
{
// we're eating this one now. The possible negative consequence is that a user could lose
// their saveram and not know why
// ShowMessageBox(owner: null, "Error: tried to load saveram, but core would not accept it?");
// ShowMessageBox(owner: null, "Error: tried to load saveram, but core would not accept it?");
return;
}