From 88f18b09e94506db6a0b859aa511b0a4b4047065 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 22 Dec 2012 07:24:01 -0800 Subject: [PATCH] Revert incorrect warning fix. --- GPU/GLES/DisplayListInterpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/DisplayListInterpreter.cpp b/GPU/GLES/DisplayListInterpreter.cpp index a693b9eb0..ebffc3783 100644 --- a/GPU/GLES/DisplayListInterpreter.cpp +++ b/GPU/GLES/DisplayListInterpreter.cpp @@ -587,7 +587,7 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) case GE_CMD_CALL: { u32 retval = dcontext.pc + 4; - if (stackptr == ARRAY_SIZE(stack) - 1) { + if (stackptr == ARRAY_SIZE(stack)) { ERROR_LOG(G3D, "CALL: Stack full!"); } else { stack[stackptr++] = retval;