Properly reset title id/game title.
This commit is contained in:
parent
c16ef67ff9
commit
112bf6c8ab
|
@ -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<kernel::xam::XamModule>("xam.xex");
|
||||
|
||||
|
|
Loading…
Reference in New Issue