[Kernel] Check XAM is attached using bounding path
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user