Commit 272931b2 authored by mercury233's avatar mercury233

update

parent 8193327f
...@@ -332,7 +332,7 @@ byte* DataManager::ScriptReaderEx(const char* script_name, int* slen) { ...@@ -332,7 +332,7 @@ byte* DataManager::ScriptReaderEx(const char* script_name, int* slen) {
} }
byte* DataManager::ScriptReader(const char* script_name, int* slen) { byte* DataManager::ScriptReader(const char* script_name, int* slen) {
FILE *fp; FILE *fp;
#ifdef _WIN32 #if defined(_WIN32) && !defined(YGOPRO_SERVER_MODE)
wchar_t fname[256]; wchar_t fname[256];
BufferIO::DecodeUTF8(script_name, fname); BufferIO::DecodeUTF8(script_name, fname);
fp = _wfopen(fname, L"rb"); 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