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

This commit is contained in:
hexkyz 2026-04-03 23:32:15 +01:00
parent e3fc339fe5
commit 4b4db91341

View File

@ -31,12 +31,13 @@ namespace ams {
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();