mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fix savedata.
This commit is contained in:
1 parent
3e5b6e6200
commit
1cb59eb76a
1 file changed
+6
-2
@@ -325,7 +325,7 @@ void __CtrlDoState(PointerWrap &p)
|
||||
{
|
||||
std::lock_guard<std::recursive_mutex> guard(ctrlMutex);
|
||||
|
||||
auto s = p.Section("sceCtrl", 1);
|
||||
auto s = p.Section("sceCtrl", 1, 2);
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
@@ -338,7 +338,11 @@ void __CtrlDoState(PointerWrap &p)
|
||||
p.Do(ctrlBuf);
|
||||
p.Do(ctrlBufRead);
|
||||
p.Do(latch);
|
||||
p.Do(dialogBtnMake);
|
||||
if (s == 1) {
|
||||
dialogBtnMake = 0;
|
||||
} else {
|
||||
p.Do(dialogBtnMake);
|
||||
}
|
||||
|
||||
p.Do(ctrlIdleReset);
|
||||
p.Do(ctrlIdleBack);
|
||||
|
||||
Reference in new issue
Block a user