mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Add Module_HomebrewAbi/Loader. Reassign Module_LibnxBinder, as it inadvertently collided with Module_HomebrewLoader.
This commit is contained in:
parent
1cc3547990
commit
eb11e25dc5
@ -23,8 +23,10 @@
|
||||
enum {
|
||||
Module_Kernel=1,
|
||||
Module_Libnx=345,
|
||||
Module_LibnxBinder=347,
|
||||
Module_HomebrewAbi=346,
|
||||
Module_HomebrewLoader=347,
|
||||
Module_LibnxNvidia=348,
|
||||
Module_LibnxBinder=349,
|
||||
};
|
||||
|
||||
/// Kernel error codes
|
||||
|
@ -93,7 +93,7 @@ void envSetup(void* ctx, Handle main_thread, LoaderReturnFn saved_lr)
|
||||
if (ent->Flags & EntryFlag_IsMandatory)
|
||||
{
|
||||
// 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;
|
||||
|
Loading…
Reference in New Issue
Block a user