From 66bddc00bc0313afc97033abdaa364d0e1ff7c54 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Mon, 20 Jul 2009 06:42:38 +0000 Subject: MT02916 --- src/emu/cpu/drcfe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/emu/cpu/drcfe.c b/src/emu/cpu/drcfe.c index 695ae20d59a..50b992b1b87 100644 --- a/src/emu/cpu/drcfe.c +++ b/src/emu/cpu/drcfe.c @@ -294,7 +294,7 @@ static opcode_desc *describe_one(drcfe_state *drcfe, offs_t curpc, const opcode_ desc->flags |= OPFLAG_VALIDATE_TLB | OPFLAG_CAN_CAUSE_EXCEPTION; /* validate stuff */ - assert(desc->length > 0); + assert(desc->length > 0 || (desc->flags & OPFLAG_VIRTUAL_NOOP) != 0); /* if we are a branch with delay slots, recursively walk those */ if (desc->flags & OPFLAG_IS_BRANCH) -- cgit v1.2.3