Use psxcdgen_ex under WSL and improve wslpath and makefiles
This commit is contained in:
@@ -6,6 +6,7 @@ fn convert_slashes(path: String) -> String {
|
||||
path.replace('\\', "/")
|
||||
}
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
fn replace_drive_letter(mut path: String) -> String {
|
||||
let has_drive_letter = {
|
||||
let drive_letter = path.get(0..2);
|
||||
@@ -35,5 +36,10 @@ fn replace_drive_letter(mut path: String) -> String {
|
||||
path.insert_str(0, "/mnt/");
|
||||
}
|
||||
|
||||
path
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
fn replace_drive_letter(path: String) -> String {
|
||||
path
|
||||
}
|
Reference in New Issue
Block a user