summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Fifo.cpp
diff options
context:
space:
mode:
authorDolphin Bot <dolphin-emu-bot@users.noreply.github.com>2014-09-04 18:27:19 +0200
committerDolphin Bot <dolphin-emu-bot@users.noreply.github.com>2014-09-04 18:27:19 +0200
commit830a03c540c8c76023cd66751c735dc50245e473 (patch)
tree1cdd2a15d0984b46d3e6088d9fbc5e7a2eaa5c14 /Source/Core/VideoCommon/Fifo.cpp
parentaf7881474edb90a243031314f81a0a7e2ab92fb2 (diff)
parent8b84ddce9a3e9c889996e2022279f78ef7a4ab5c (diff)
Merge pull request #957 from degasus/frame_skipping
VideoCommon: rewrite frame skipping code
Diffstat (limited to 'Source/Core/VideoCommon/Fifo.cpp')
-rw-r--r--Source/Core/VideoCommon/Fifo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp
index fb47c73e49..8a872d5422 100644
--- a/Source/Core/VideoCommon/Fifo.cpp
+++ b/Source/Core/VideoCommon/Fifo.cpp
@@ -19,7 +19,7 @@
#include "VideoCommon/PixelEngine.h"
#include "VideoCommon/VideoConfig.h"
-volatile bool g_bSkipCurrentFrame = false;
+bool g_bSkipCurrentFrame = false;
namespace
{
@@ -173,7 +173,7 @@ void RunGpuLoop()
ReadDataFromFifo(uData, 32);
- cyclesExecuted = OpcodeDecoder_Run(g_bSkipCurrentFrame, GetVideoBufferEndPtr());
+ cyclesExecuted = OpcodeDecoder_Run(GetVideoBufferEndPtr());
if (Core::g_CoreStartupParameter.bSyncGPU && Common::AtomicLoad(CommandProcessor::VITicks) > cyclesExecuted)
Common::AtomicAdd(CommandProcessor::VITicks, -(s32)cyclesExecuted);
@@ -235,7 +235,7 @@ void RunGpu()
FPURoundMode::SaveSIMDState();
FPURoundMode::LoadDefaultSIMDState();
ReadDataFromFifo(uData, 32);
- OpcodeDecoder_Run(g_bSkipCurrentFrame, GetVideoBufferEndPtr());
+ OpcodeDecoder_Run(GetVideoBufferEndPtr());
FPURoundMode::LoadSIMDState();
//DEBUG_LOG(COMMANDPROCESSOR, "Fifo wraps to base");