From 34a8274cf2fe3129abb9728afa6b8ed32fa52ea4 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Mon, 3 Jan 2022 23:29:40 +0100 Subject: [PATCH] early-access version 2367 --- README.md | 2 +- src/yuzu/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3a384134c..6802a2c90 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 2366. +This is the source code for early-access 2367. ## Legal Notice diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 872989c92..e8314ba5f 100755 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1557,6 +1557,8 @@ void GMainWindow::ShutdownGame() { emu_thread->wait(); emu_thread = nullptr; + emulation_running = false; + discord_rpc->Update(); // The emulation is stopped, so closing the window or not does not matter anymore @@ -1595,8 +1597,6 @@ void GMainWindow::ShutdownGame() { emu_frametime_label->setVisible(false); renderer_status_button->setEnabled(true); - emulation_running = false; - game_path.clear(); // When closing the game, destroy the GLWindow to clear the context after the game is closed