Merge pull request #1673 from Stevoisiak/Cache_Revision-Comment
Specified where to find CACHE_REVISION
This commit is contained in:
commit
799b557e21
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue