diff --git a/libraries/libstratosphere/source/wec/wec_api.cpp b/libraries/libstratosphere/source/wec/wec_api.cpp index 3d65b2644..0b3f3213e 100644 --- a/libraries/libstratosphere/source/wec/wec_api.cpp +++ b/libraries/libstratosphere/source/wec/wec_api.cpp @@ -59,10 +59,6 @@ namespace ams::wec { } - /* 0C, 160 */ - /* 10, 164 */ - /* DC, 170 */ - void Initialize() { /* Set initial wake configuration. */ if (!g_initialized) { @@ -100,7 +96,7 @@ namespace ams::wec { UpdateControlBit(ApbdevPmc + level_ofs, (1u << index), false); /* Set or clear the bit in the auto mask register. */ - UpdateControlBit(ApbdevPmc + level_ofs, (1u << index), level != wec::WakeEventLevel_Low); + UpdateControlBit(ApbdevPmc + auto_mask_ofs, (1u << index), level != wec::WakeEventLevel_Low); } }