From deaf14bca65cce45297064f1bf8d27d6792220ad Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 2 Jun 2021 11:32:35 -0700 Subject: [PATCH] Fix windows --- Runtime/CMemoryCardSysWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/CMemoryCardSysWin.cpp b/Runtime/CMemoryCardSysWin.cpp index 14071b34b..6152fb069 100644 --- a/Runtime/CMemoryCardSysWin.cpp +++ b/Runtime/CMemoryCardSysWin.cpp @@ -125,7 +125,7 @@ kabufuda::SystemString CMemoryCardSys::_CreateDolphinCard(kabufuda::ECardSlot sl } hecl::SystemString tmpPath = path.substr(0, path.find_last_of(_SYS_STR("/"))); hecl::RecursiveMakeDir(tmpPath.c_str()); - const auto fp = hecl::FopenUnique(path.c_str(), "wb"); + const auto fp = hecl::FopenUnique(path.c_str(), _SYS_STR("wb")); if (fp) { return path; }