diff options
| author | shuffle2 <godisgovernment@gmail.com> | 2016-10-03 03:46:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-03 03:46:14 -0700 |
| commit | b650552fb4bc3a545876723e176fcf5c8decbf52 (patch) | |
| tree | ea9725526b69383875c1caee2ab5ab2d9bb8c5ee /Source/Core | |
| parent | 2db2e886206c1380bc86cfc5282096adf2e51272 (diff) | |
| parent | b7dbc58c272155031fecb4f08a9c40aef78bc7a2 (diff) | |
Merge pull request #4278 from shuffle2/sc-quickfix
quick fix to prevent heap corruption in sysconf code
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/BootManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<u8>("IPL.IDL", 0x00); NOTICE_LOG(BOOT, "Disabling WC24 'standby' (shutdown to idle) to avoid hanging on shutdown"); } |
