mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix savedata.
This commit is contained in:
parent
3e5b6e6200
commit
1cb59eb76a
1 changed files with 6 additions and 2 deletions
|
@ -325,7 +325,7 @@ void __CtrlDoState(PointerWrap &p)
|
||||||
{
|
{
|
||||||
std::lock_guard<std::recursive_mutex> guard(ctrlMutex);
|
std::lock_guard<std::recursive_mutex> guard(ctrlMutex);
|
||||||
|
|
||||||
auto s = p.Section("sceCtrl", 1);
|
auto s = p.Section("sceCtrl", 1, 2);
|
||||||
if (!s)
|
if (!s)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -338,7 +338,11 @@ void __CtrlDoState(PointerWrap &p)
|
||||||
p.Do(ctrlBuf);
|
p.Do(ctrlBuf);
|
||||||
p.Do(ctrlBufRead);
|
p.Do(ctrlBufRead);
|
||||||
p.Do(latch);
|
p.Do(latch);
|
||||||
p.Do(dialogBtnMake);
|
if (s == 1) {
|
||||||
|
dialogBtnMake = 0;
|
||||||
|
} else {
|
||||||
|
p.Do(dialogBtnMake);
|
||||||
|
}
|
||||||
|
|
||||||
p.Do(ctrlIdleReset);
|
p.Do(ctrlIdleReset);
|
||||||
p.Do(ctrlIdleBack);
|
p.Do(ctrlIdleBack);
|
||||||
|
|
Loading…
Add table
Reference in a new issue