added some missing VideoBackendHardware data to savestates. I think this makes savestates more stable (fewer "GFX FIFO: Unknown Opcode" errors) in dual core mode.

also added some extra verification markers around here, to potentially give better info on future version mismatches
This commit is contained in:
nitsuja
2012-01-01 13:52:31 -08:00
committed by skidau
parent 2be579e8ba
commit ae242e5675
2 changed files with 24 additions and 3 deletions

View File

@ -186,6 +186,14 @@ void VideoBackendHardware::InitializeShared()
void VideoBackendHardware::DoState(PointerWrap& p)
{
VideoCommon_DoState(p);
p.DoMarker("VideoCommon");
p.Do(s_swapRequested);
p.Do(s_efbAccessRequested);
p.Do(s_beginFieldArgs);
p.Do(s_accessEFBArgs);
p.Do(s_AccessEFBResult);
p.DoMarker("VideoBackendHardware");
// Refresh state.
if (p.GetMode() == PointerWrap::MODE_READ)