diff options
| author | comex <comexk@gmail.com> | 2014-09-02 23:27:30 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-09-02 23:27:30 -0400 |
| commit | dd5be7c0dc14bfaa7972ce24d07d85bd7189a090 (patch) | |
| tree | 87192193c99c7e6310d797dedeccddb1d24511cb /Source/Core/VideoCommon/Fifo.cpp | |
| parent | 031beca9c9dac810011b65f275fbb156d2c03362 (diff) | |
| parent | 608f9bcd6724c77fef9be8e45ec8f14b49e2b3fb (diff) | |
Merge pull request #924 from comex/fifo-command-runnable
Refactor opcode decoding a bit to kill FifoCommandRunnable.
Diffstat (limited to 'Source/Core/VideoCommon/Fifo.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Fifo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp index 165cd8e239..fb47c73e49 100644 --- a/Source/Core/VideoCommon/Fifo.cpp +++ b/Source/Core/VideoCommon/Fifo.cpp @@ -173,7 +173,7 @@ void RunGpuLoop() ReadDataFromFifo(uData, 32); - cyclesExecuted = OpcodeDecoder_Run(g_bSkipCurrentFrame); + cyclesExecuted = OpcodeDecoder_Run(g_bSkipCurrentFrame, 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); + OpcodeDecoder_Run(g_bSkipCurrentFrame, GetVideoBufferEndPtr()); FPURoundMode::LoadSIMDState(); //DEBUG_LOG(COMMANDPROCESSOR, "Fifo wraps to base"); |
