1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 13:52:21 +00:00

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