Merge pull request #223 from unknownbrackets/warnings

Revert incorrect warning fix
This commit is contained in:
Florent Castelli committed 2012-12-22 07:44:17 -08:00
commit a64890d3c3
1 file changed
+1 -1
+1 -1
View File
@@ -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;