mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-20 23:54:48 +00:00
Fix savestates broken by #6493.
This commit is contained in:
parent
8a308fa7a7
commit
cd78e1676d
@ -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…
x
Reference in New Issue
Block a user