fatal: Implement PowerControlTask

This commit is contained in:
Michael Scire
2018-11-10 02:42:07 -08:00
parent 1228cd6903
commit aa86d1abfa
4 changed files with 85 additions and 1 deletions

View File

@@ -77,6 +77,11 @@ void __appInit(void) {
std::abort();
}
rc = psmInitialize();
if (R_FAILED(rc)) {
std::abort();
}
rc = spsmInitialize();
if (R_FAILED(rc)) {
std::abort();
@@ -88,6 +93,7 @@ void __appInit(void) {
void __appExit(void) {
/* Cleanup services. */
spsmExit();
psmExit();
bpcExit();
pminfoExit();
setsysExit();