mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Fix savestates broken by #6493.
This commit is contained in:
1 parent
8a308fa7a7
commit
cd78e1676d
1 file changed
+7
-2
+7
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user