Add Module_HomebrewAbi/Loader. Reassign Module_LibnxBinder, as it inadvertently collided with Module_HomebrewLoader.

This commit is contained in:
fincs 2018-09-27 21:00:47 +02:00
parent 1cc3547990
commit eb11e25dc5
2 changed files with 4 additions and 2 deletions

View File

@ -23,8 +23,10 @@
enum { enum {
Module_Kernel=1, Module_Kernel=1,
Module_Libnx=345, Module_Libnx=345,
Module_LibnxBinder=347, Module_HomebrewAbi=346,
Module_HomebrewLoader=347,
Module_LibnxNvidia=348, Module_LibnxNvidia=348,
Module_LibnxBinder=349,
}; };
/// Kernel error codes /// Kernel error codes

View File

@ -93,7 +93,7 @@ void envSetup(void* ctx, Handle main_thread, LoaderReturnFn saved_lr)
if (ent->Flags & EntryFlag_IsMandatory) if (ent->Flags & EntryFlag_IsMandatory)
{ {
// Encountered unknown but mandatory key, bail back to loader. // Encountered unknown but mandatory key, bail back to loader.
__nx_exit(MAKERESULT(346, 100 + ent->Key), g_loaderRetAddr); __nx_exit(MAKERESULT(Module_HomebrewAbi, 100 + ent->Key), g_loaderRetAddr);
} }
break; break;