From 5f244abf2833db9d3a7d93a0632b56c4bf55e5e7 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 12 Jan 2016 22:44:58 +0100 Subject: Fifo: Create a "Fifo" namespace. --- Source/Core/VideoCommon/BPStructs.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Core/VideoCommon/BPStructs.cpp') diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index 6dc505c28e..35f017f5c5 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -177,7 +177,7 @@ static void BPWritten(const BPCmd& bp) switch (bp.newvalue & 0xFF) { case 0x02: - if (!g_use_deterministic_gpu_thread) + if (!Fifo::g_use_deterministic_gpu_thread) PixelEngine::SetFinish(); // may generate interrupt DEBUG_LOG(VIDEO, "GXSetDrawDone SetPEFinish (value: 0x%02X)", (bp.newvalue & 0xFFFF)); return; @@ -188,12 +188,12 @@ static void BPWritten(const BPCmd& bp) } return; case BPMEM_PE_TOKEN_ID: // Pixel Engine Token ID - if (!g_use_deterministic_gpu_thread) + if (!Fifo::g_use_deterministic_gpu_thread) PixelEngine::SetToken(static_cast(bp.newvalue & 0xFFFF), false); DEBUG_LOG(VIDEO, "SetPEToken 0x%04x", (bp.newvalue & 0xFFFF)); return; case BPMEM_PE_TOKEN_INT_ID: // Pixel Engine Interrupt Token ID - if (!g_use_deterministic_gpu_thread) + if (!Fifo::g_use_deterministic_gpu_thread) PixelEngine::SetToken(static_cast(bp.newvalue & 0xFFFF), true); DEBUG_LOG(VIDEO, "SetPEToken + INT 0x%04x", (bp.newvalue & 0xFFFF)); return; @@ -378,7 +378,7 @@ static void BPWritten(const BPCmd& bp) case BPMEM_CLEARBBOX2: // Don't compute bounding box if this frame is being skipped! // Wrong but valid values are better than bogus values... - if (!g_bSkipCurrentFrame) + if (!Fifo::g_bSkipCurrentFrame) { u8 offset = bp.address & 2; BoundingBox::active = true; -- cgit v1.2.3