Fix savestates broken by #6493.

This commit is contained in:
Unknown W. Brackets committed 2014-07-05 07:30:03 -07:00
1 parent 8a308fa7a7
commit cd78e1676d
1 file changed
+7 -2
+7 -2
View File
@@ -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);
}