diff options
| author | degasus <wickmarkus@web.de> | 2017-01-27 09:44:31 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2017-01-27 19:04:56 +0100 |
| commit | 3787af9ee9ca3279f437e17b1a343f6aa7a091ef (patch) | |
| tree | de21c34d03dbb1a2ae4fef37485c81497a850a75 /Source/Core/VideoCommon/Fifo.cpp | |
| parent | 017e8050b64ca86ce6ca91092b07bc078bb0ba75 (diff) | |
CommandProcessor: Limit scope of ugly SCPFifoStruct.
It's only used as an interface between two classes. So no need to declare
it in the backend export header.
Diffstat (limited to 'Source/Core/VideoCommon/Fifo.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Fifo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp index 678dc77687..a3f056bcca 100644 --- a/Source/Core/VideoCommon/Fifo.cpp +++ b/Source/Core/VideoCommon/Fifo.cpp @@ -324,7 +324,7 @@ void RunGpuLoop() } else { - SCPFifoStruct& fifo = CommandProcessor::fifo; + CommandProcessor::SCPFifoStruct& fifo = CommandProcessor::fifo; AsyncRequests::GetInstance()->PullEvents(); @@ -414,7 +414,7 @@ void GpuMaySleep() bool AtBreakpoint() { - SCPFifoStruct& fifo = CommandProcessor::fifo; + CommandProcessor::SCPFifoStruct& fifo = CommandProcessor::fifo; return fifo.bFF_BPEnable && (fifo.CPReadPointer == fifo.CPBreakpoint); } @@ -442,7 +442,7 @@ void RunGpu() static int RunGpuOnCpu(int ticks) { - SCPFifoStruct& fifo = CommandProcessor::fifo; + CommandProcessor::SCPFifoStruct& fifo = CommandProcessor::fifo; bool reset_simd_state = false; int available_ticks = int(ticks * SConfig::GetInstance().fSyncGpuOverclock) + s_sync_ticks.load(); while (fifo.bFF_GPReadEnable && fifo.CPReadWriteDistance && !AtBreakpoint() && |
