[Kernel] Updated XAM loader to add '$flash_xam.xex'

This commit is contained in:
seven7000 2025-05-21 21:27:35 -03:00 committed by Radosław Gliński
parent f4b854e484
commit de10b9ef91
1 changed files with 3 additions and 0 deletions

View File

@ -589,6 +589,9 @@ 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");
}
if (module) {
result = kernel_state_->FinishLoadingUserModule(module, false);