[Kernel] - Load Dlls - fixes orangbox games loading from menu ala Emoose

This commit is contained in:
Cancerous 2020-10-10 15:38:37 -04:00 committed by randprint
parent d78d33d2e9
commit a2fb185cb9
1 changed files with 5 additions and 1 deletions

View File

@ -228,8 +228,12 @@ object_ref<XModule> KernelState::GetModule(const std::string_view name,
}
}
// Module not found, try loading it
if (IsKernelModule(name)) {
return nullptr;
} else {
// Module not found, try loading it
return LoadUserModule(name);
}
}
object_ref<XThread> KernelState::LaunchModule(object_ref<UserModule> module) {