Skip to content

Commit e1e6d25

Browse files
authored
Merge pull request #483 from cscd98/windows-path-fix
libretro: fix path for some games like MM9 on windows when using mingw
2 parents 882883f + 88b8487 commit e1e6d25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Core/Common/StringUtil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ std::u16string UTF8ToUTF16(std::string_view input)
849849
// This is a replacement for path::u8path, which is deprecated starting with C++20.
850850
std::filesystem::path StringToPath(std::string_view path)
851851
{
852-
#ifdef _MSC_VER
852+
#ifdef _WIN32
853853
return std::filesystem::path(UTF8ToWString(path));
854854
#else
855855
return std::filesystem::path(path);

0 commit comments

Comments
 (0)