qt: Fix HDD path relativization on Windows

This commit is contained in:
Cacodemon345
2022-03-04 01:17:38 +06:00
parent 83b87a7a8f
commit 7dc84e0f67
7 changed files with 40 additions and 3 deletions

View File

@@ -252,6 +252,10 @@ hdd_image_load(int id)
int vhd_error = 0;
memset(empty_sector, 0, sizeof(empty_sector));
if (fn) {
plat_path_normalize(fn);
}
hdd_images[id].base = 0;