diff options
Diffstat (limited to 'src/GPU3D.cpp')
-rw-r--r-- | src/GPU3D.cpp | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp index bd27783..d9d6ba8 100644 --- a/src/GPU3D.cpp +++ b/src/GPU3D.cpp @@ -401,8 +401,33 @@ void DoSavestate(Savestate* file) file->Var32(&NumTestCommands); file->Var32(&DispCnt); + file->Var8(&AlphaRefVal); file->Var8(&AlphaRef); + file->VarArray(ToonTable, 32*2); + file->VarArray(EdgeTable, 8*2); + + file->Var32(&FogColor); + file->Var32(&FogOffset); + file->VarArray(FogDensityTable, 32); + + file->Var32(&ClearAttr1); + file->Var32(&ClearAttr2); + + file->Var32(&RenderDispCnt); + file->Var8(&RenderAlphaRef); + + file->VarArray(RenderToonTable, 32*2); + file->VarArray(RenderEdgeTable, 8*2); + + file->Var32(&RenderFogColor); + file->Var32(&RenderFogOffset); + file->Var32(&RenderFogShift); + file->VarArray(RenderFogDensityTable, 34); + + file->Var32(&RenderClearAttr1); + file->Var32(&RenderClearAttr2); + file->Var32(&ZeroDotWLimit); file->Var32(&GXStat); @@ -471,9 +496,6 @@ void DoSavestate(Savestate* file) file->Var32(&NumPolygons); file->Var32(&NumOpaquePolygons); - file->Var32(&ClearAttr1); - file->Var32(&ClearAttr2); - file->Var32(&FlushRequest); file->Var32(&FlushAttributes); |