From ed71cba2bd3673749f4e77dbdf1565b7bf4a1c43 Mon Sep 17 00:00:00 2001 From: Frank-74 Date: Mon, 21 Nov 2016 15:43:36 +0000 Subject: [PATCH] Fix Uncompressed Saves. --- Source/Project64-core/N64System/N64Class.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Project64-core/N64System/N64Class.cpp b/Source/Project64-core/N64System/N64Class.cpp index 1d56af4cb..76555d259 100644 --- a/Source/Project64-core/N64System/N64Class.cpp +++ b/Source/Project64-core/N64System/N64Class.cpp @@ -1845,7 +1845,7 @@ bool CN64System::LoadState(const char * FileName) CPath ExtraInfo(SaveFile); ExtraInfo.SetExtension(".dat"); - CFile hExtraInfo(ExtraInfo, CFileBase::modeWrite | CFileBase::modeCreate); + CFile hExtraInfo(ExtraInfo, CFileBase::modeRead); if (hExtraInfo.IsOpen()) { m_SystemTimer.LoadData(hExtraInfo); @@ -2183,4 +2183,4 @@ void CN64System::TLB_Changed() { g_Debugger->TLBChanged(); } -} \ No newline at end of file +}