replaced exit() with fatalerror() in src/emu/cpu/mcs96/mcs96.c (nw)

This commit is contained in:
Oliver Stöneberg 2014-09-10 17:41:27 +00:00
parent 9871beba3f
commit e59abd06d0

View File

@ -128,8 +128,7 @@ void mcs96_device::execute_run()
int picount = inst_state >= 0x200 ? -1 : icount;
do_exec_full();
if(icount == picount) {
fprintf(stderr, "Unhandled %x (%04x)\n", inst_state, PPC);
exit(0);
fatalerror("Unhandled %x (%04x)\n", inst_state, PPC);
}
}
while(bcount && icount <= bcount)