add some missing shit to savestates

This commit is contained in:
StapleButter
2018-11-25 22:40:08 +01:00
parent 4b8cea3b38
commit b1973014d3
3 changed files with 29 additions and 3 deletions

View File

@ -188,6 +188,17 @@ void GPU2D::DoSavestate(Savestate* file)
file->Var32(&CaptureCnt);
}
if (file->IsAtleastVersion(2, 1))
{
file->Var32(&Win0Active);
file->Var32(&Win1Active);
}
else
{
Win0Active = 0;
Win1Active = 0;
}
if (!file->Saving)
{
// refresh those