diff --git a/stratosphere/dmnt/source/dmnt_main.cpp b/stratosphere/dmnt/source/dmnt_main.cpp index 25ab804f6..01a1c5f28 100644 --- a/stratosphere/dmnt/source/dmnt_main.cpp +++ b/stratosphere/dmnt/source/dmnt_main.cpp @@ -71,7 +71,7 @@ void __appInit(void) { R_ABORT_UNLESS(roDmntInitialize()); } R_ABORT_UNLESS(nsdevInitialize()); - R_ABORT_UNLESS(lrInitialize()); + lr::Initialize(); R_ABORT_UNLESS(setInitialize()); R_ABORT_UNLESS(setsysInitialize()); R_ABORT_UNLESS(hidInitialize()); @@ -90,7 +90,7 @@ void __appExit(void) { hidExit(); setsysExit(); setExit(); - lrExit(); + lr::Finalize(); nsdevExit(); roDmntExit(); ldrDmntExit(); diff --git a/stratosphere/pm/source/pm_main.cpp b/stratosphere/pm/source/pm_main.cpp index 46e8fd594..cc4f6e1c3 100644 --- a/stratosphere/pm/source/pm_main.cpp +++ b/stratosphere/pm/source/pm_main.cpp @@ -141,7 +141,6 @@ void __appInit(void) { /* Use AMS manager extension to tell SM that FS has been worked around. */ R_ABORT_UNLESS(sm::manager::EndInitialDefers()); - R_ABORT_UNLESS(lrInitialize()); R_ABORT_UNLESS(ldrPmInitialize()); R_ABORT_UNLESS(splInitialize()); }); @@ -153,7 +152,6 @@ void __appExit(void) { /* Cleanup services. */ splExit(); ldrPmExit(); - lrExit(); smManagerExit(); fsprExit(); }