dmnt: ro:dmnt available on all sysvers

This commit is contained in:
Michael Scire 2021-01-27 14:44:25 -08:00
parent 4a82d9bf28
commit 42964992d1

View file

@ -93,10 +93,7 @@ void __appInit(void) {
R_ABORT_UNLESS(pmdmntInitialize()); R_ABORT_UNLESS(pmdmntInitialize());
R_ABORT_UNLESS(pminfoInitialize()); R_ABORT_UNLESS(pminfoInitialize());
R_ABORT_UNLESS(ldrDmntInitialize()); R_ABORT_UNLESS(ldrDmntInitialize());
/* TODO: We provide this on every sysver via ro. Do we need a shim? */
if (hos::GetVersion() >= hos::Version_3_0_0) {
R_ABORT_UNLESS(roDmntInitialize()); R_ABORT_UNLESS(roDmntInitialize());
}
R_ABORT_UNLESS(nsdevInitialize()); R_ABORT_UNLESS(nsdevInitialize());
lr::Initialize(); lr::Initialize();
R_ABORT_UNLESS(setInitialize()); R_ABORT_UNLESS(setInitialize());