From 355d7664d26b4c46794f5f11083367c0cc688424 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 14 Oct 2021 16:51:01 +1000 Subject: [PATCH] System: Fix unused variable warning --- src/core/system.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/system.cpp b/src/core/system.cpp index 0883db38b..cdf82c765 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -2470,7 +2470,9 @@ void DoRunahead() if (frames_to_run > 0) { Common::Timer timer2; +#ifdef PROFILE_MEMORY_SAVE_STATES const s32 temp = frames_to_run; +#endif g_spu.SetAudioStream(s_runahead_audio_stream.get());