mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 19:23:56 +00:00
handle unicode file open
This commit is contained in:
@@ -2158,9 +2158,8 @@ namespace
|
||||
}
|
||||
|
||||
FILE* file{};
|
||||
// TODO: fix unicode conversion
|
||||
//const auto error = _wfopen_s(&file, f.name.c_str(), mode);
|
||||
const auto error = EACCES;
|
||||
|
||||
const auto error = open_unicode(&file, f.name.c_str(), mode.c_str());
|
||||
|
||||
if (!file)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user