Change VERSION back to STATE_VERSION.

Update dolphin-emu.pot file for recent changes to strings in code.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7369 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2011-03-17 13:32:25 +00:00
parent e26efc8561
commit a2159f38bd
2 changed files with 563 additions and 575 deletions

File diff suppressed because it is too large Load Diff

View File

@ -65,7 +65,7 @@ static std::vector<u8> g_current_buffer;
static std::thread g_save_thread;
// Don't forget to increase this after doing changes on the savestate system
static const int VERSION = 4;
static const int STATE_VERSION = 4;
struct StateHeader
{
@ -82,9 +82,9 @@ void EnableCompression(bool compression)
void DoState(PointerWrap &p)
{
u32 cookie = 0xBAADBABE + VERSION;
u32 cookie = 0xBAADBABE + STATE_VERSION;
p.Do(cookie);
if (cookie != 0xBAADBABE + VERSION)
if (cookie != 0xBAADBABE + STATE_VERSION)
{
p.SetMode(PointerWrap::MODE_MEASURE);
return;