Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
melonDS
Commits
e1add6f3
Commit
e1add6f3
authored
Aug 19, 2020
by
Arisotura
Browse files
3D: add a bunch of missing variables to savestates. oops.
fixes #716
parent
00f33343
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/GPU3D.cpp
View file @
e1add6f3
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment