Merge pull request #1673 from Stevoisiak/Cache_Revision-Comment

Specified where to find CACHE_REVISION
This commit is contained in:
Lioncash 2014-12-08 12:26:31 -05:00
commit 799b557e21
1 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ bool GameFile::LoadFromCache()
if (!file.open(QFile::ReadOnly)) if (!file.open(QFile::ReadOnly))
return false; return false;
// If you modify the code below, you MUST bump the CACHE_REVISION! // If you modify the code below, you MUST bump the CACHE_REVISION! (ISOFile.cpp)
QDataStream stream(&file); QDataStream stream(&file);
stream.setVersion(DATASTREAM_REVISION); stream.setVersion(DATASTREAM_REVISION);
@ -195,7 +195,7 @@ void GameFile::SaveToCache()
if (!file.open(QFile::WriteOnly)) if (!file.open(QFile::WriteOnly))
return; return;
// If you modify the code below, you MUST bump the CACHE_REVISION! // If you modify the code below, you MUST bump the CACHE_REVISION! (ISOFile.cpp)
QDataStream stream(&file); QDataStream stream(&file);
stream.setVersion(DATASTREAM_REVISION); stream.setVersion(DATASTREAM_REVISION);
stream << CACHE_REVISION; stream << CACHE_REVISION;