From d933247c5017d27369a25fd20f4614a126031bcf Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Sun, 21 Sep 2014 04:52:17 -0400 Subject: [PATCH] Remove an unused variable. --- Source/Core/Core/Movie.cpp | 4 ---- Source/Core/Core/State.cpp | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/Core/Core/Movie.cpp b/Source/Core/Core/Movie.cpp index 78c5f07936..98e8e49a39 100644 --- a/Source/Core/Core/Movie.cpp +++ b/Source/Core/Core/Movie.cpp @@ -74,7 +74,6 @@ static u32 s_DSPcoefHash = 0; static bool s_bRecordingFromSaveState = false; static bool s_bPolled = false; -static int s_currentSaveVersion = 0; static std::string tmpStateFilename = File::GetUserPath(D_STATESAVES_IDX) + "dtm.sav"; @@ -786,9 +785,6 @@ bool PlayInput(const std::string& filename) void DoState(PointerWrap &p) { - static const int MOVIE_STATE_VERSION = 1; - s_currentSaveVersion = MOVIE_STATE_VERSION; - p.Do(s_currentSaveVersion); // many of these could be useful to save even when no movie is active, // and the data is tiny, so let's just save it regardless of movie state. p.Do(g_currentFrame); diff --git a/Source/Core/Core/State.cpp b/Source/Core/Core/State.cpp index 2bcffc9a6e..9a1e15f74f 100644 --- a/Source/Core/Core/State.cpp +++ b/Source/Core/Core/State.cpp @@ -63,7 +63,7 @@ static Common::Event g_compressAndDumpStateSyncEvent; static std::thread g_save_thread; // Don't forget to increase this after doing changes on the savestate system -static const u32 STATE_VERSION = 32; +static const u32 STATE_VERSION = 33; enum {