fix savestates for mapper 132

This commit is contained in:
adelikat 2016-09-13 07:50:07 -04:00
parent 790c4d21a5
commit 0ac114d3a1
1 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
// specs pulled from Nintendulator sources
public sealed class Mapper132 : NES.NESBoardBase
{
private ByteBuffer reg = new ByteBuffer(4);
//configuraton
int prg_mask, chr_mask;
//state
@ -33,8 +35,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
return true;
}
public byte[] reg = new byte [4];
public void sync()
{
@ -89,6 +89,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
ser.Sync("chr", ref chr);
ser.Sync("prg", ref prg);
ser.Sync("is173", ref is173);
ser.Sync("reg", ref reg);
}
}