Apple II: Fixed at least 1 issue with savestates.
This commit is contained in:
parent
6fd8aad86b
commit
1f42bdd651
|
@ -48,7 +48,8 @@ namespace Jellyfish.Virtu
|
||||||
}
|
}
|
||||||
|
|
||||||
string name = reader.ReadString();
|
string name = reader.ReadString();
|
||||||
var data = reader.ReadBytes(reader.ReadInt32());
|
var dataSize = reader.ReadInt32();
|
||||||
|
var data = reader.ReadBytes(dataSize);
|
||||||
bool isWriteProtected = reader.ReadBoolean();
|
bool isWriteProtected = reader.ReadBoolean();
|
||||||
|
|
||||||
if (name.EndsWith(".do", StringComparison.OrdinalIgnoreCase) ||
|
if (name.EndsWith(".do", StringComparison.OrdinalIgnoreCase) ||
|
||||||
|
|
|
@ -45,7 +45,7 @@ namespace Jellyfish.Virtu
|
||||||
Joystick1DownLeftKey = reader.ReadInt32();
|
Joystick1DownLeftKey = reader.ReadInt32();
|
||||||
Joystick1DownKey = reader.ReadInt32();
|
Joystick1DownKey = reader.ReadInt32();
|
||||||
Joystick1DownRightKey = reader.ReadInt32();
|
Joystick1DownRightKey = reader.ReadInt32();
|
||||||
Button0Key = reader.ReadUInt32();
|
Button0Key = reader.ReadUInt64();
|
||||||
Button1Key = reader.ReadInt32();
|
Button1Key = reader.ReadInt32();
|
||||||
Button2Key = reader.ReadInt32();
|
Button2Key = reader.ReadInt32();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue