From c09dea9f9863571130a207b1e13b579cafcf157e Mon Sep 17 00:00:00 2001 From: HookedBehemoth Date: Sun, 23 Feb 2020 16:25:11 +0100 Subject: [PATCH] whoops --- nx/source/services/tc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/source/services/tc.c b/nx/source/services/tc.c index 60478090..dae85f88 100644 --- a/nx/source/services/tc.c +++ b/nx/source/services/tc.c @@ -35,7 +35,7 @@ Result tcDisableFanControl(void) { Result tcIsFanControlEnabled(bool *status) { u8 tmp=0; Result rc = serviceDispatchOut(&g_tcSrv, 8, tmp); - if (R_SUCCEEDED(rc) && status) *status = out & 1; + if (R_SUCCEEDED(rc) && status) *status = tmp & 1; return rc; }