hack fix fuck shit textstate code
This commit is contained in:
parent
bd53079a3a
commit
83a5632759
|
@ -21,6 +21,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
|
|||
{
|
||||
var s = (TextState<TextStateData>)ser.Deserialize(reader, typeof(TextState<TextStateData>));
|
||||
LoadState(s);
|
||||
reader.ReadToEnd();
|
||||
}
|
||||
|
||||
public void SaveStateBinary(BinaryWriter writer)
|
||||
|
|
|
@ -36,6 +36,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
|
|||
_linkShiftSignal = s.LinkShiftSignal;
|
||||
_linkSpaced = s.LinkSpaced;
|
||||
_linkSpaceSignal = s.LinkSpaceSignal;
|
||||
reader.ReadToEnd();
|
||||
}
|
||||
|
||||
public void SaveStateBinary(BinaryWriter writer)
|
||||
|
@ -104,6 +105,11 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
|
|||
|
||||
public DGBSerialized(GambatteLink linkcore)
|
||||
{
|
||||
if (linkcore == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
NumCores = linkcore._numCores;
|
||||
LinkedStates = new TextState<Gameboy.TextStateData>[NumCores];
|
||||
LinkedOverflow = new int[NumCores];
|
||||
|
|
Loading…
Reference in New Issue