From 13ed71641993a3eb0ecb48127247c8c90ce1bf31 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 17 Mar 2018 18:08:49 -0400 Subject: [PATCH] MainBase: Remove effectively unused s_FifoShuttingDown variable This is only ever set and cleared, which is fine, however nothing else ever actually reads its state to perform differing behavior. --- Source/Core/VideoCommon/MainBase.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/Core/VideoCommon/MainBase.cpp b/Source/Core/VideoCommon/MainBase.cpp index 02eef33e08..3a579991a0 100644 --- a/Source/Core/VideoCommon/MainBase.cpp +++ b/Source/Core/VideoCommon/MainBase.cpp @@ -7,7 +7,6 @@ #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" #include "Common/Event.h" -#include "Common/Flag.h" #include "Common/Logging/Log.h" #include "Core/Host.h" #include "VideoCommon/AsyncRequests.h" @@ -29,12 +28,9 @@ #include "VideoCommon/VideoConfig.h" #include "VideoCommon/VideoState.h" -static Common::Flag s_FifoShuttingDown; - void VideoBackendBase::Video_ExitLoop() { Fifo::ExitGpuLoop(); - s_FifoShuttingDown.Set(); } // Run from the CPU thread (from VideoInterface.cpp) @@ -166,7 +162,6 @@ void VideoBackendBase::InitializeShared() // do not initialize again for the config window m_initialized = true; - s_FifoShuttingDown.Clear(); m_invalid = false; frameCount = 0;