From 1fdd83628e6ab1d1fcba137aa2bce5012f6b35d5 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 13 May 2020 22:07:40 -0700 Subject: [PATCH] exo2: fix typo bug --- exosphere2/program/source/smc/secmon_smc_power_management.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exosphere2/program/source/smc/secmon_smc_power_management.cpp b/exosphere2/program/source/smc/secmon_smc_power_management.cpp index 5823ba71d..2bfdaae52 100644 --- a/exosphere2/program/source/smc/secmon_smc_power_management.cpp +++ b/exosphere2/program/source/smc/secmon_smc_power_management.cpp @@ -54,7 +54,7 @@ namespace ams::secmon::smc { /* Wait until nothing is being powergated. */ int timeout = 5000; while (true) { - if (reg::HasValue(APBDEV_PMC_PWRGATE_TOGGLE, PMC_REG_BITS_ENUM(PWRGATE_TOGGLE_START, DISABLE))) { + if (reg::HasValue(PMC + APBDEV_PMC_PWRGATE_TOGGLE, PMC_REG_BITS_ENUM(PWRGATE_TOGGLE_START, DISABLE))) { break; }