For Qt netplay, reset client frame rate adjustment to normal on disconnect.
This commit is contained in:
parent
c4dd4f5153
commit
283aea91db
|
@ -1420,6 +1420,9 @@ int NetPlayClient::Destroy()
|
||||||
}
|
}
|
||||||
traceRegistrationHandle = nullptr;
|
traceRegistrationHandle = nullptr;
|
||||||
}
|
}
|
||||||
|
// Reset frame throttling to normal incase client was dynamically adjusting frame rate.
|
||||||
|
FCEUD_SetEmulationSpeed(EMUSPEED_NORMAL);
|
||||||
|
|
||||||
FCEU_WRAPPER_UNLOCK();
|
FCEU_WRAPPER_UNLOCK();
|
||||||
|
|
||||||
if (consoleWindow != nullptr)
|
if (consoleWindow != nullptr)
|
||||||
|
|
Loading…
Reference in New Issue