mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Merge pull request #13661 from sum2012/sceUsbMic_savestatus_patch
Fix crash in sceusbmic on load old staus then save again
This commit is contained in:
1 file changed
+3
-1
@@ -133,7 +133,9 @@ void __UsbMicDoState(PointerWrap &p) {
|
||||
Do(p, micState);
|
||||
if (s > 1) {
|
||||
Do(p, eventUsbMicAudioUpdate);
|
||||
CoreTiming::RestoreRegisterEvent(eventUsbMicAudioUpdate, "UsbMicAudioUpdate", &__UsbMicAudioUpdate);
|
||||
if (eventUsbMicAudioUpdate != -1) {
|
||||
CoreTiming::RestoreRegisterEvent(eventUsbMicAudioUpdate, "UsbMicAudioUpdate", &__UsbMicAudioUpdate);
|
||||
}
|
||||
} else {
|
||||
eventUsbMicAudioUpdate = -1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user