mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 02:22:15 +02:00
whoops
This commit is contained in:
parent
c1507299cb
commit
c09dea9f98
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user