cell: the test for CELL_DEBUG_FRAGMENT_OP_FALLBACK in cmd_state_fragment_ops() was inverted

This commit is contained in:
Brian Paul 2008-09-19 10:42:21 -06:00
parent 44d5e607c7
commit de0a6dc04a

View file

@ -267,7 +267,7 @@ cmd_state_fragment_ops(const struct cell_command_fragment_ops *fops)
* final code we'll always use codegen and won't even provide the
* raw state records that the fallback code requires.
*/
if (spu.init.debug_flags & CELL_DEBUG_FRAGMENT_OP_FALLBACK) {
if ((spu.init.debug_flags & CELL_DEBUG_FRAGMENT_OP_FALLBACK) == 0) {
spu.fragment_ops = (spu_fragment_ops_func) spu.fragment_ops_code;
}
/* otherwise, the default fallback code remains in place */