aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-12-12 19:21:30 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2022-12-12 19:21:30 -0600
commit0ed80c98182dac1bd3e6b1390af64c9d6959598c (patch)
treee11ad68920ce576d011be4bfc300b44221a70aa9 /src/yuzu/main.cpp
parent339a37f8cb19dffbf64015b5d9a362a1ef5560c2 (diff)
yuzu: Make unlimited frame rate non persistent between game boots
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index b11b26f7b4..6c204416fa 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1790,6 +1790,9 @@ void GMainWindow::ShutdownGame() {
AllowOSSleep();
+ // Disable unlimited frame rate
+ Settings::values.use_speed_limit.SetValue(true);
+
system->SetShuttingDown(true);
system->DetachDebugger();
discord_rpc->Pause();