[Kernel] Check XAM is attached using bounding path

This commit is contained in:
Adrian
2025-08-15 22:37:13 +01:00
committed by Radosław Gliński
parent a9fb32a2fd
commit e66028f0ff
3 changed files with 20 additions and 1 deletions

View File

@@ -589,6 +589,7 @@ X_STATUS Emulator::LaunchXexFile(const std::filesystem::path& path) {
file_system_->RegisterSymbolicLink("font:", mount_path);
auto module = kernel_state_->LoadUserModule("xam.xex");
if (!module) {
module = kernel_state_->LoadUserModule("$flash_xam.xex");
}
@@ -596,6 +597,7 @@ X_STATUS Emulator::LaunchXexFile(const std::filesystem::path& path) {
if (module) {
result = kernel_state_->FinishLoadingUserModule(module, false);
}
return result;
}