Additional CACHE_REVISION increment warnings

GameFile.cpp warnings for DolphinQt,
ISOFile.cpp warnings for DolphinWX
This commit is contained in:
Stevoisiak 2014-12-30 20:05:33 -05:00
parent f5cddd4020
commit fe49427688
3 changed files with 4 additions and 3 deletions

View File

@ -41,7 +41,7 @@ public:
virtual bool ChangePartition(u64 offset) { return false; }
// Increment CACHE_REVISION if values are changed (ISOFile.cpp)
// Increment CACHE_REVISION if the code below is modified (ISOFile.cpp & GameFile.cpp)
enum ECountry
{
COUNTRY_EUROPE = 0,

View File

@ -9,6 +9,7 @@
#include "Common/Logging/Log.h"
#include "DiscIO/Volume.h"
// Increment CACHE_REVISION if the code below is modified (ISOFile.cpp & GameFile.cpp)
namespace DiscIO
{
IVolume::ECountry CountrySwitch(u8 CountryCode)

View File

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