From 926f96daf0e055a362b41887ab690354f4bbd869 Mon Sep 17 00:00:00 2001 From: hrydgard Date: Sat, 29 May 2010 15:35:31 +0000 Subject: [PATCH] Revert 5533, removing the misleading TODO and commenting it properly. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5534 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/LinearDiskCache.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) {