Add some extra fields into GPU3D's serialization

This commit is contained in:
Jesse Talavera-Greenberg 2023-10-25 20:32:22 -04:00
parent e17bf76ed1
commit 56a6a71d87
1 changed files with 11 additions and 0 deletions

View File

@ -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();