diff --git a/Source/Project64/N64 System/N64 Class.cpp b/Source/Project64/N64 System/N64 Class.cpp index 7edf8775e..161446283 100644 --- a/Source/Project64/N64 System/N64 Class.cpp +++ b/Source/Project64/N64 System/N64 Class.cpp @@ -1408,7 +1408,7 @@ bool CN64System::LoadState() } CPath ZipFileName; - ZipFileName = (stdstr&)FileName + ".zip"; + ZipFileName = (std::string)FileName + ".zip"; if ((g_Settings->LoadDword(Setting_AutoZipInstantSave) && ZipFileName.Exists()) || FileName.Exists()) {