From d29121a8710ad44116fba66e2b4ab20e9b061a5a Mon Sep 17 00:00:00 2001 From: Christian Kenny Date: Sun, 19 Sep 2021 02:34:02 -0400 Subject: [PATCH] Core: Reset game loaded/started variables on recompiler shutdown. --- pcsx2/System.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcsx2/System.cpp b/pcsx2/System.cpp index b40a779b0e..5736267905 100644 --- a/pcsx2/System.cpp +++ b/pcsx2/System.cpp @@ -453,6 +453,9 @@ void SysMainMemory::DecommitAll() closeNewVif(0); closeNewVif(1); + g_GameStarted = false; + g_GameLoading = false; + vtlb_Core_Free(); }