From 1686b637df633c77a1f05034325383f6c97ab4eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Thu, 22 Apr 2021 21:51:25 +0200 Subject: [PATCH] MIOS: Fix SConfig::OnNewTitleLoad not being called Oversight from #9545, which moved the "new game has been loaded" logic to a separate OnNewTitleLoad function that has to be called explicitly *after* a title has loaded. Coupled with the commit that makes Dolphin not clobber 0x1800-0x3000 when using MIOS, this fixes Wind Waker and other MIOS-patched games when they are launched from the System Menu. --- Source/Core/Core/IOS/MIOS.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/IOS/MIOS.cpp b/Source/Core/Core/IOS/MIOS.cpp index 3be52ed411..7a4ce4a6bc 100644 --- a/Source/Core/Core/IOS/MIOS.cpp +++ b/Source/Core/Core/IOS/MIOS.cpp @@ -86,6 +86,7 @@ bool Load() NOTICE_LOG_FMT(IOS, "IPL ready."); SConfig::GetInstance().m_is_mios = true; DVDInterface::UpdateRunningGameMetadata(); + SConfig::OnNewTitleLoad(); return true; } } // namespace IOS::HLE::MIOS