mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
Specified where to find CACHE_REVISION
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user