diff --git a/Source/Core/Common/Src/LinearDiskCache.cpp b/Source/Core/Common/Src/LinearDiskCache.cpp index 28aee58b93..6fe72df549 100644 --- a/Source/Core/Common/Src/LinearDiskCache.cpp +++ b/Source/Core/Common/Src/LinearDiskCache.cpp @@ -16,10 +16,13 @@ // http://code.google.com/p/dolphin-emu/ #include "LinearDiskCache.h" -#include "svnrev.h" static const char ID[4] = {'D', 'C', 'A', 'C'}; -const int version = SVN_REV; + +// Update this to the current SVN revision every time you change shader generation code. +// We don't automatically get this from SVN_REV because that would mean regenerating the +// shader cache for every revision, graphics-related or not, which is simply annoying. +const int version = 5520; LinearDiskCache::LinearDiskCache() : file_(NULL), num_entries_(0) {