From 8c2a1c191e138d24ec5d525e6cb2532fae376b58 Mon Sep 17 00:00:00 2001 From: Sketch <75850871+SketchMaster2001@users.noreply.github.com> Date: Sat, 22 Jul 2023 22:24:09 -0400 Subject: [PATCH] Remove force disable WC24 Standby --- Source/Core/Core/ConfigLoaders/BaseConfigLoader.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Source/Core/Core/ConfigLoaders/BaseConfigLoader.cpp b/Source/Core/Core/ConfigLoaders/BaseConfigLoader.cpp index 5356449cdb..1e6d2efca3 100644 --- a/Source/Core/Core/ConfigLoaders/BaseConfigLoader.cpp +++ b/Source/Core/Core/ConfigLoaders/BaseConfigLoader.cpp @@ -69,17 +69,6 @@ void SaveToSYSCONF(Config::LayerType layer, std::function("IPL.CB", SysConf::Entry::Type::Long, 0); - - // 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. - SysConf::Entry* idle_entry = sysconf.GetOrAddEntry("IPL.IDL", SysConf::Entry::Type::SmallArray); - if (idle_entry->bytes.empty()) - idle_entry->bytes = std::vector(2); - else - idle_entry->bytes[0] = 0; - NOTICE_LOG_FMT(CORE, "Disabling WC24 'standby' (shutdown to idle) to avoid hanging on shutdown"); - IOS::HLE::RestoreBTInfoSection(&sysconf); sysconf.Save(); }