mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-08 22:45:43 +00:00
Prevents abort with m68K
* Prevents abort with m68K Raises exception instead * M68K remove one uses of abort * Less aborts and logs instead for M68K Backports commit 910999d3969b682d8376db1266f9885866cd785c from unicorn
This commit is contained in:
parent
43c48b72ea
commit
e3b8ea18bf
|
@ -47,9 +47,9 @@ void HELPER(cf_movec_to)(CPUM68KState *env, uint32_t reg, uint32_t val)
|
|||
break;
|
||||
/* TODO: Implement control registers. */
|
||||
default:
|
||||
cpu_abort(CPU(cpu),
|
||||
"Unimplemented control register write 0x%x = 0x%x\n",
|
||||
reg, val);
|
||||
qemu_log("Unimplemented control register write 0x%x = 0x%x\n",
|
||||
reg, val);
|
||||
raise_exception(env, EXCP_UNSUPPORTED);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4976,7 +4976,8 @@ DISAS_INSN(wdebug)
|
|||
return;
|
||||
}
|
||||
/* TODO: Implement wdebug. */
|
||||
cpu_abort(CPU(cpu), "WDEBUG not implemented");
|
||||
qemu_log("WDEBUG not implemented\n");
|
||||
gen_exception(s, s->pc - 2, EXCP_UNSUPPORTED);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue