mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 03:14:34 +01:00
fix savestate enet thread handling again
This commit is contained in:
1 parent
8474ca35b6
commit
23dadb11bf
1 file changed
+4
-2
@@ -2000,12 +2000,14 @@ void __NetAdhocDoState(PointerWrap &p) {
|
||||
// Keeping the current flags instead left a state saved with adhocctl inited, loaded into a
|
||||
// fresh boot, failing every call with NOT_INITIALIZED; MGS Peace Walker retried
|
||||
// sceNetAdhocctlDisconnect forever when starting a cutscene.
|
||||
if (netAdhocInited && !cur_netAdhocInited) {
|
||||
if (netAdhocInited != cur_netAdhocInited) {
|
||||
if (aemuPostofficeEnetThread.joinable()) {
|
||||
aemuPostofficeEnetPumping = false;
|
||||
aemuPostofficeEnetThread.join();
|
||||
}
|
||||
SetupAdhocRelayMode();
|
||||
if (netAdhocInited) {
|
||||
SetupAdhocRelayMode();
|
||||
}
|
||||
}
|
||||
if (netAdhocctlInited && !cur_netAdhocctlInited) {
|
||||
isAdhocctlNeedLogin = true;
|
||||
|
||||
Reference in new issue
Block a user