fixed bogus assert

This commit is contained in:
Stanislav Shwartsman 2017-12-02 16:40:03 +00:00
parent d4ce16d8d6
commit 31ea453921
2 changed files with 2 additions and 2 deletions

View File

@ -2729,7 +2729,7 @@ fetch_b1:
else if (ia_opcode == BX_IA_MOV_RdCR0)
i->setSrcReg(1, 8); // extend CR0 -> CR8
else
assert(0);
i->setIaOpcode(BX_IA_ERROR); // replace execution function with undefined-opcode
}
else
#endif

View File

@ -2469,7 +2469,7 @@ fetch_b1:
else if (ia_opcode == BX_IA_MOV_RqCR0)
i->setSrcReg(1, 8); // extend CR0 -> CR8
else
assert(0);
i->setIaOpcode(BX_IA_ERROR); // replace execution function with undefined-opcode
}
else {
// replace execution function with undefined-opcode