For Qt netplay, reset client frame rate adjustment to normal on disconnect.

This commit is contained in:
harry 2024-05-11 06:16:12 -04:00
parent c4dd4f5153
commit 283aea91db
1 changed files with 3 additions and 0 deletions

View File

@ -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)