workaround issue 146

This commit is contained in:
goyuken 2014-03-23 15:00:56 +00:00
parent 8ac9f7d2dd
commit 67fdb46ca2
1 changed files with 5 additions and 2 deletions

View File

@ -224,10 +224,13 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
public void ClearSaveRam()
{
if (currentside != null)
throw new Exception("FDS Saveram: Can't clear when a disk is active!");
// be careful with this; it can only really be done in frame 0
//if (currentside != null)
// throw new Exception("FDS Saveram: Can't clear when a disk is active!");
for (int i = 0; i < diskdiffs.Length; i++)
diskdiffs[i] = null;
if (currentside != null)
InsertSide((int)currentside);
}
public override byte[] SaveRam