windows fix
This commit is contained in:
parent
102589b8f3
commit
46d5d812fc
@ -547,10 +547,12 @@ void execute(mode mode, game game, const std::string& path)
|
|||||||
{
|
{
|
||||||
if (entry.is_regular_file())
|
if (entry.is_regular_file())
|
||||||
{
|
{
|
||||||
|
auto gen_path = std::filesystem::path(utils::string::fordslash(entry.path().string()), std::filesystem::path::format::generic_format);
|
||||||
|
|
||||||
if (game < game::T6)
|
if (game < game::T6)
|
||||||
gsc::funcs[mode](game, entry.path().string());
|
gsc::funcs[mode](game, gen_path.string());
|
||||||
else
|
else
|
||||||
arc::funcs[mode](game, std::filesystem::path(entry.path(), std::filesystem::path::format::generic_format));
|
arc::funcs[mode](game, gen_path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user