Skip to content

Commit

Permalink
For Qt netplay, reset client frame rate adjustment to normal on disco…
Browse files Browse the repository at this point in the history
…nnect.
  • Loading branch information
thor2016 committed May 11, 2024
1 parent c4dd4f5 commit 283aea9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/drivers/Qt/NetPlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 283aea9

Please sign in to comment.