From 112bf6c8ab1a9426ca24ca3378d769e42b8b2abc Mon Sep 17 00:00:00 2001 From: gibbed Date: Sat, 3 Aug 2019 08:13:45 -0500 Subject: [PATCH] Properly reset title id/game title. --- src/xenia/emulator.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xenia/emulator.cc b/src/xenia/emulator.cc index df48ac89c..f413049b4 100644 --- a/src/xenia/emulator.cc +++ b/src/xenia/emulator.cc @@ -629,6 +629,11 @@ std::string Emulator::FindLaunchModule() { X_STATUS Emulator::CompleteLaunch(const std::wstring& path, const std::string& module_path) { + // Reset state. + title_id_ = 0; + game_title_ = L""; + display_window_->SetIcon(nullptr, 0); + // Allow xam to request module loads. auto xam = kernel_state()->GetKernelModule("xam.xex");