sysclk: properly init applet service
This commit is contained in:
@@ -93,6 +93,9 @@ extern "C"
|
|||||||
rc = i2cInitialize();
|
rc = i2cInitialize();
|
||||||
if (R_FAILED(rc))
|
if (R_FAILED(rc))
|
||||||
diagAbortWithResult(MAKERESULT(Module_Libnx, LibnxError_ShouldNotHappen));
|
diagAbortWithResult(MAKERESULT(Module_Libnx, LibnxError_ShouldNotHappen));
|
||||||
|
rc = appletInitialize();
|
||||||
|
if (R_FAILED(rc))
|
||||||
|
diagAbortWithResult(MAKERESULT(Module_Libnx, LibnxError_ShouldNotHappen));
|
||||||
}
|
}
|
||||||
|
|
||||||
void __appExit(void)
|
void __appExit(void)
|
||||||
@@ -102,6 +105,7 @@ extern "C"
|
|||||||
i2cExit();
|
i2cExit();
|
||||||
fsExit();
|
fsExit();
|
||||||
fsdevUnmountAll();
|
fsdevUnmountAll();
|
||||||
|
appletExit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user