pgl: no need to initialize lr services when already using our own

This commit is contained in:
hexkyz authored and NaGa committed 2026-04-04 21:39:24 +02:00
1 parent 29a158bb08
commit b3772c0968
1 file changed
+3 -2
+3 -2
View File
@@ -30,13 +30,14 @@ namespace ams {
fs::InitializeForSystem();
fs::SetAllocator(pgl::srv::Allocate, pgl::srv::Deallocate);
fs::SetEnabledAutoAbort(false);
/* Initialize lr. */
lr::Initialize();
/* Initialize other services we need. */
R_ABORT_UNLESS(setsysInitialize());
R_ABORT_UNLESS(pmshellInitialize());
R_ABORT_UNLESS(ldrShellInitialize());
R_ABORT_UNLESS(lrInitialize());
lr::Initialize();
/* Verify that we can sanely execute. */
ams::CheckApiVersion();