ProcessManager: Acquire ldr:pm during init.
This commit is contained in:
@@ -60,11 +60,17 @@ void __appInit(void) {
|
||||
if (R_FAILED(rc)) {
|
||||
fatalSimple(0xCAFE << 4 | 3);
|
||||
}
|
||||
|
||||
rc = ldrPmInitialize();
|
||||
if (R_FAILED(rc)) {
|
||||
fatalSimple(0xCAFE << 4 | 4);
|
||||
}
|
||||
}
|
||||
|
||||
void __appExit(void) {
|
||||
/* Cleanup services. */
|
||||
fsdevUnmountAll();
|
||||
ldrPmExit();
|
||||
splExit();
|
||||
fsprExit();
|
||||
lrExit();
|
||||
|
||||
Reference in New Issue
Block a user