mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 23:40:39 +00:00
Upgrade savestates correctly for the brightnessLevel addition.
This commit is contained in:
parent
441c600651
commit
9bea246509
@ -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…
Reference in New Issue
Block a user