From 6335d21901a7cad7d11b545fe7398855af449174 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sat, 10 Nov 2018 03:22:21 -0800 Subject: [PATCH] fatal: SleepThread takes ns, not ticks --- stratosphere/fatal/source/fatal_task_power.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/fatal/source/fatal_task_power.cpp b/stratosphere/fatal/source/fatal_task_power.cpp index 2ebd2489e..88e934f53 100644 --- a/stratosphere/fatal/source/fatal_task_power.cpp +++ b/stratosphere/fatal/source/fatal_task_power.cpp @@ -102,7 +102,7 @@ void PowerButtonObserveTask::WaitForPowerButton() { } /* Wait 100 ms between button checks. */ - svcSleepThread(TimeoutHelper::NsToTick(100000000UL)); + svcSleepThread(100000000UL); } }