Commit 0955adfc authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Enable branch forward operation in execute buffer.

parent 4ea95899
......@@ -595,11 +595,15 @@ static void execute(IDirect3DExecuteBufferImpl *This,
if ((This->data.dsStatus.dwStatus & ci->dwMask) == ci->dwValue) {
if (!ci->bNegate) {
TRACE(" Should branch to %ld\n", ci->dwOffset);
TRACE(" Branch to %ld\n", ci->dwOffset);
instr = (char*)current + ci->dwOffset;
break;
}
} else {
if (ci->bNegate) {
TRACE(" Should branch to %ld\n", ci->dwOffset);
TRACE(" Branch to %ld\n", ci->dwOffset);
instr = (char*)current + ci->dwOffset;
break;
}
}
......@@ -627,7 +631,7 @@ static void execute(IDirect3DExecuteBufferImpl *This,
} break;
default:
ERR("Unhandled OpCode !!!\n");
ERR("Unhandled OpCode %d !!!\n",current->bOpcode);
/* Try to save ... */
instr += count * size;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment