mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
Specified where to find CACHE_REVISION
This commit is contained in:
parent
af5b1063bf
commit
aeae285c8d
@ -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…
x
Reference in New Issue
Block a user