workaround issue 146
This commit is contained in:
parent
8ac9f7d2dd
commit
67fdb46ca2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue