mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix savestates broken by #6493.
This commit is contained in:
parent
8a308fa7a7
commit
cd78e1676d
1 changed files with 7 additions and 2 deletions
|
@ -51,8 +51,13 @@ void __UsbDoState(PointerWrap &p)
|
|||
if (!s)
|
||||
return;
|
||||
|
||||
p.Do(usbStarted);
|
||||
p.Do(usbConnected);
|
||||
if (s >= 2) {
|
||||
p.Do(usbStarted);
|
||||
p.Do(usbConnected);
|
||||
} else {
|
||||
usbStarted = false;
|
||||
usbConnected = true;
|
||||
}
|
||||
p.Do(usbActivated);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue