mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Upgrade savestates correctly for the brightnessLevel addition.
This commit is contained in:
parent
441c600651
commit
9bea246509
1 changed files with 4 additions and 2 deletions
|
@ -188,7 +188,7 @@ void __DisplayInit() {
|
|||
}
|
||||
|
||||
void __DisplayDoState(PointerWrap &p) {
|
||||
auto s = p.Section("sceDisplay", 1, 3);
|
||||
auto s = p.Section("sceDisplay", 1, 4);
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
|
@ -209,7 +209,9 @@ void __DisplayDoState(PointerWrap &p) {
|
|||
p.Do(mode);
|
||||
p.Do(resumeMode);
|
||||
p.Do(holdMode);
|
||||
p.Do(brightnessLevel);
|
||||
if (s >= 4) {
|
||||
p.Do(brightnessLevel);
|
||||
}
|
||||
p.Do(width);
|
||||
p.Do(height);
|
||||
WaitVBlankInfo wvi(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue