[Kernel] Added option to load provided XAM for resource usage
- Added XEX1 key - Removed annoying assertion from xeXamEnumerate - Added returning hmodule_ptr for resource locator
This commit is contained in:
committed by
Radosław Gliński
parent
97a45315e3
commit
f4b854e484
@@ -587,6 +587,12 @@ X_STATUS Emulator::LaunchXexFile(const std::filesystem::path& path) {
|
||||
// System related symlinks
|
||||
file_system_->RegisterSymbolicLink("media:", mount_path);
|
||||
file_system_->RegisterSymbolicLink("font:", mount_path);
|
||||
|
||||
auto module = kernel_state_->LoadUserModule("xam.xex");
|
||||
|
||||
if (module) {
|
||||
result = kernel_state_->FinishLoadingUserModule(module, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user