[Kernel] Updated XAM loader to add '$flash_xam.xex'
This commit is contained in:
committed by
Radosław Gliński
parent
f4b854e484
commit
de10b9ef91
@@ -589,6 +589,9 @@ X_STATUS Emulator::LaunchXexFile(const std::filesystem::path& path) {
|
|||||||
file_system_->RegisterSymbolicLink("font:", mount_path);
|
file_system_->RegisterSymbolicLink("font:", mount_path);
|
||||||
|
|
||||||
auto module = kernel_state_->LoadUserModule("xam.xex");
|
auto module = kernel_state_->LoadUserModule("xam.xex");
|
||||||
|
if (!module) {
|
||||||
|
module = kernel_state_->LoadUserModule("$flash_xam.xex");
|
||||||
|
}
|
||||||
|
|
||||||
if (module) {
|
if (module) {
|
||||||
result = kernel_state_->FinishLoadingUserModule(module, false);
|
result = kernel_state_->FinishLoadingUserModule(module, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user