[Emulator] Fixed media and font loading on linux.
Caused by treating guest path as host path
This commit is contained in:
@@ -580,9 +580,8 @@ X_STATUS Emulator::LaunchXexFile(const std::filesystem::path& path) {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::string mount_path = xe::path_to_utf8(
|
const std::string mount_path =
|
||||||
std::filesystem::path(kernel_state_->GetExecutableModule()->path())
|
utf8::find_base_guest_path(kernel_state_->GetExecutableModule()->path());
|
||||||
.parent_path());
|
|
||||||
|
|
||||||
// System related symlinks
|
// System related symlinks
|
||||||
file_system_->RegisterSymbolicLink("media:", mount_path);
|
file_system_->RegisterSymbolicLink("media:", mount_path);
|
||||||
|
|||||||
Reference in New Issue
Block a user