Merge pull request #1218 from Frank-74/patch-2

Fix Uncompressed Saves.
This commit is contained in:
zilmar 2016-11-22 04:05:42 +11:00 committed by GitHub
commit 74dff317c7
1 changed files with 2 additions and 2 deletions

View File

@ -1845,7 +1845,7 @@ bool CN64System::LoadState(const char * FileName)
CPath ExtraInfo(SaveFile); CPath ExtraInfo(SaveFile);
ExtraInfo.SetExtension(".dat"); ExtraInfo.SetExtension(".dat");
CFile hExtraInfo(ExtraInfo, CFileBase::modeWrite | CFileBase::modeCreate); CFile hExtraInfo(ExtraInfo, CFileBase::modeRead);
if (hExtraInfo.IsOpen()) if (hExtraInfo.IsOpen())
{ {
m_SystemTimer.LoadData(hExtraInfo); m_SystemTimer.LoadData(hExtraInfo);