From c67c6c79fe3d5b1c6b9a34fc3c60b5d0aa65dad2 Mon Sep 17 00:00:00 2001 From: Hat Kid <6624576+Hat-Kid@users.noreply.github.com> Date: Sun, 1 Dec 2024 21:34:13 +0100 Subject: [PATCH] fix windows hopefully --- decompiler/level_extractor/extract_merc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decompiler/level_extractor/extract_merc.cpp b/decompiler/level_extractor/extract_merc.cpp index c99f18dba73..231b631dc03 100644 --- a/decompiler/level_extractor/extract_merc.cpp +++ b/decompiler/level_extractor/extract_merc.cpp @@ -1802,7 +1802,7 @@ void extract_merc(const ObjectFileData& ag_data, game_version_names[version] / "merc_replacements"; if (!swapped_info.already_swapped(ctrl.name, out.level_name)) { if (file_util::file_exists(merc_replacements_path.string())) { - auto file_name = ctrl.name + ".glb"; + ghc::filesystem::path file_name(ctrl.name + ".glb"); auto mdl_path = merc_replacements_path / file_name; if (file_util::file_exists(mdl_path)) { auto it = std::find_if(out.merc_data.models.begin(), out.merc_data.models.end(),