diff options
Diffstat (limited to 'src/GPU2D.cpp')
-rw-r--r-- | src/GPU2D.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/GPU2D.cpp b/src/GPU2D.cpp index d08dc4a..db58268 100644 --- a/src/GPU2D.cpp +++ b/src/GPU2D.cpp @@ -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 |