From dc151eb439f315da4ba9a06b8b0cfe21150f5eec Mon Sep 17 00:00:00 2001 From: Gliniak Date: Mon, 27 Oct 2025 14:17:01 +0100 Subject: [PATCH] [Emulator] Fixed media and font loading on linux. Caused by treating guest path as host path --- src/xenia/emulator.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/xenia/emulator.cc b/src/xenia/emulator.cc index 3bd34bbc6..392569319 100644 --- a/src/xenia/emulator.cc +++ b/src/xenia/emulator.cc @@ -580,9 +580,8 @@ X_STATUS Emulator::LaunchXexFile(const std::filesystem::path& path) { return result; } - const std::string mount_path = xe::path_to_utf8( - std::filesystem::path(kernel_state_->GetExecutableModule()->path()) - .parent_path()); + const std::string mount_path = + utf8::find_base_guest_path(kernel_state_->GetExecutableModule()->path()); // System related symlinks file_system_->RegisterSymbolicLink("media:", mount_path);