Fix path canonicalization

This fixes #34
This commit is contained in:
momo5502
2024-12-24 07:14:24 +01:00
parent 56af439dcd
commit e40a6d1c51

View File

@@ -170,7 +170,7 @@ namespace
std::filesystem::path canonicalize_path(const std::filesystem::path& path) std::filesystem::path canonicalize_path(const std::filesystem::path& path)
{ {
return canonical(absolute(path).parent_path()).make_preferred(); return canonical(absolute(path)).make_preferred();
} }
void setup_context(windows_emulator& win_emu, const emulator_settings& settings) void setup_context(windows_emulator& win_emu, const emulator_settings& settings)