From 23052b5a6bd0c4ee8bbcd6950fb14e1aa91a8e86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 10 Apr 2018 16:28:06 +0200 Subject: [PATCH] Buildfix. --- GPU/GPUCommon.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/GPU/GPUCommon.cpp b/GPU/GPUCommon.cpp index 66e2dce1fe..713e4c4120 100644 --- a/GPU/GPUCommon.cpp +++ b/GPU/GPUCommon.cpp @@ -1548,15 +1548,16 @@ void GPUCommon::Execute_Prim(u32 op, u32 diff) { // PRIM commands with other commands. A special case that might be interesting is that game // that changes culling mode between each prim, we could just change the triangle winding // right here to still be able to join draw calls. -#ifndef MOBILE_DEVICE - if (debugRecording_ || host->GPUDebuggingActive()) - goto bail; -#endif uint32_t vtypeCheckMask = ~GE_VTYPE_WEIGHTCOUNT_MASK; if (!g_Config.bSoftwareSkinning) vtypeCheckMask = 0xFFFFFFFF; +#ifndef MOBILE_DEVICE + if (debugRecording_ || host->GPUDebuggingActive()) + goto bail; +#endif + while (src != stall) { uint32_t data = *src; switch (data >> 24) {