diff --git a/stratosphere/pm/source/pm_main.cpp b/stratosphere/pm/source/pm_main.cpp index 133ed17be..b7f4bfd4b 100644 --- a/stratosphere/pm/source/pm_main.cpp +++ b/stratosphere/pm/source/pm_main.cpp @@ -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();