mirror of
https://github.com/TASEmulators/fceux.git
synced 2026-10-12 02:09:51 +00:00
For Qt netplay, reset client frame rate adjustment to normal on disconnect.
This commit is contained in:
@@ -1420,6 +1420,9 @@ int NetPlayClient::Destroy()
|
||||
}
|
||||
traceRegistrationHandle = nullptr;
|
||||
}
|
||||
// Reset frame throttling to normal incase client was dynamically adjusting frame rate.
|
||||
FCEUD_SetEmulationSpeed(EMUSPEED_NORMAL);
|
||||
|
||||
FCEU_WRAPPER_UNLOCK();
|
||||
|
||||
if (consoleWindow != nullptr)
|
||||
|
||||
Reference in New Issue
Block a user