From 4ca1137187935069df55f97b07ed6bccf8873ae6 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 6 Mar 2020 04:58:48 -0800 Subject: [PATCH] pm: think of the savings --- stratosphere/dmnt/source/dmnt_main.cpp | 4 ++-- stratosphere/pm/source/pm_main.cpp | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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(); }