mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
add some missing shit to savestates
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user