Mercurial > repos > blastem
changeset 1279:996eb76d6da1
RESET is not a terminal instruction on the 68K. Fixes a crash bug in Chavez II and possibly other games
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 13 Mar 2017 23:14:13 -0700 |
parents | 34d3cb05014d |
children | 6a6cc3b3949b |
files | m68k_core.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m68k_core.c Mon Mar 13 23:13:24 2017 -0700 +++ b/m68k_core.c Mon Mar 13 23:14:13 2017 -0700 @@ -681,7 +681,7 @@ uint8_t m68k_is_terminal(m68kinst * inst) { return inst->op == M68K_RTS || inst->op == M68K_RTE || inst->op == M68K_RTR || inst->op == M68K_JMP - || inst->op == M68K_TRAP || inst->op == M68K_ILLEGAL || inst->op == M68K_INVALID || inst->op == M68K_RESET + || inst->op == M68K_TRAP || inst->op == M68K_ILLEGAL || inst->op == M68K_INVALID || (inst->op == M68K_BCC && inst->extra.cond == COND_TRUE); }