mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-29 23:32:23 +00:00
ProcessManager: Acquire ldr:pm during init.
This commit is contained in:
parent
b5412df53b
commit
0459bcee74
1 changed files with 6 additions and 0 deletions
|
@ -60,11 +60,17 @@ void __appInit(void) {
|
||||||
if (R_FAILED(rc)) {
|
if (R_FAILED(rc)) {
|
||||||
fatalSimple(0xCAFE << 4 | 3);
|
fatalSimple(0xCAFE << 4 | 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rc = ldrPmInitialize();
|
||||||
|
if (R_FAILED(rc)) {
|
||||||
|
fatalSimple(0xCAFE << 4 | 4);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void __appExit(void) {
|
void __appExit(void) {
|
||||||
/* Cleanup services. */
|
/* Cleanup services. */
|
||||||
fsdevUnmountAll();
|
fsdevUnmountAll();
|
||||||
|
ldrPmExit();
|
||||||
splExit();
|
splExit();
|
||||||
fsprExit();
|
fsprExit();
|
||||||
lrExit();
|
lrExit();
|
||||||
|
|
Loading…
Reference in a new issue