mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 11:10:15 +00:00
Update file_util.cpp
This commit is contained in:
parent
6e05627c1d
commit
75e5f5287e
@ -929,7 +929,7 @@ bool IOFile::Open(const std::string& filename, const char openmode[])
|
|||||||
Close();
|
Close();
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#if defined(__MINGW64__)
|
#if defined(__MINGW64__)
|
||||||
m_file = _wfsopen(Common::UTF8ToUTF16W(filename).c_str(), Common::UTF8ToUTF16W(openmode).c_str(),SH_DENYNO);
|
m_file = _wfsopen(Common::UTF8ToUTF16W(filename).c_str(), Common::UTF8ToUTF16W(openmode).c_str(), SH_DENYNO);
|
||||||
#else
|
#else
|
||||||
_wfopen_s(&m_file, Common::UTF8ToUTF16W(filename).c_str(), Common::UTF8ToUTF16W(openmode).c_str());
|
_wfopen_s(&m_file, Common::UTF8ToUTF16W(filename).c_str(), Common::UTF8ToUTF16W(openmode).c_str());
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user