Commit 272931b2 authored by mercury233's avatar mercury233

update

parent 8193327f
......@@ -332,7 +332,7 @@ byte* DataManager::ScriptReaderEx(const char* script_name, int* slen) {
}
byte* DataManager::ScriptReader(const char* script_name, int* slen) {
FILE *fp;
#ifdef _WIN32
#if defined(_WIN32) && !defined(YGOPRO_SERVER_MODE)
wchar_t fname[256];
BufferIO::DecodeUTF8(script_name, fname);
fp = _wfopen(fname, L"rb");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment