From 56a6a71d87274effa008ff56f5177dad7a7e7280 Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Wed, 25 Oct 2023 20:32:22 -0400 Subject: [PATCH] Add some extra fields into GPU3D's serialization --- src/GPU3D.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp index 181e4104..287e025c 100644 --- a/src/GPU3D.cpp +++ b/src/GPU3D.cpp @@ -636,6 +636,17 @@ void DoSavestate(Savestate* file) file->VarArray(ShininessTable, 128*sizeof(u8)); file->Bool32(&AbortFrame); + file->Bool32(&GeometryEnabled); + file->Bool32(&RenderingEnabled); + file->Bool32(&RenderFrameIdentical); + file->VarArray(ClipMatrix, sizeof(ClipMatrix)); + file->Bool32(&ClipMatrixDirty); + file->Var32(&PolygonMode); + file->Var32(&PolygonAttr); + file->Var32(&CurPolygonAttr); + file->Var32(&TexParam); + file->Var32(&TexPalette); + file->VarArray(TempVertexBuffer, sizeof(TempVertexBuffer)); if (softRenderer && softRenderer->IsThreaded()) { softRenderer->EnableRenderThread();