From b7dbc58c272155031fecb4f08a9c40aef78bc7a2 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Mon, 3 Oct 2016 03:43:01 -0700 Subject: [PATCH] quick fix to prevent heap corruption by overwriting 4bytes of 1byte sysconf element --- Source/Core/Core/BootManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/BootManager.cpp b/Source/Core/Core/BootManager.cpp index 6370bbf9d1..6758c25b48 100644 --- a/Source/Core/Core/BootManager.cpp +++ b/Source/Core/Core/BootManager.cpp @@ -397,7 +397,7 @@ bool BootCore(const std::string& _rFilename) // Disable WiiConnect24's standby mode. If it is enabled, it prevents us from receiving // shutdown commands in the State Transition Manager (STM). // TODO: remove this if and once Dolphin supports WC24 standby mode. - SConfig::GetInstance().m_SYSCONF->SetData("IPL.IDL", 0x00); + SConfig::GetInstance().m_SYSCONF->SetData("IPL.IDL", 0x00); NOTICE_LOG(BOOT, "Disabling WC24 'standby' (shutdown to idle) to avoid hanging on shutdown"); }