ProcessManager: Acquire ldr:pm during init.

This commit is contained in:
Michael Scire 2018-05-03 03:58:45 -06:00
parent b5412df53b
commit 0459bcee74

View file

@ -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();