Core: Zip load in CN64System::LoadState uses utf16 path
This commit is contained in:
parent
58a13b8e28
commit
48b3e5a9a2
|
@ -1871,7 +1871,9 @@ bool CN64System::LoadState(const char * FileName)
|
|||
{
|
||||
SaveFile.SetNameExtension(stdstr_f("%s.zip", SaveFile.GetNameExtension().c_str()).c_str());
|
||||
}
|
||||
unzFile file = unzOpen(SaveFile);
|
||||
zlib_filefunc64_def ffunc;
|
||||
fill_win32_filefunc64W(&ffunc);
|
||||
unzFile file = unzOpen2_64(stdstr((std::string &)SaveFile).ToUTF16().c_str(), &ffunc);
|
||||
int port = -1;
|
||||
if (file != nullptr)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue