mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
hd6301: RTI after TRAP returns to the address where the trap error occured
This commit is contained in:
parent
18b8bfd408
commit
6a2b6f5197
@ -41,6 +41,7 @@ OP_HANDLER( illegl3 )
|
||||
OP_HANDLER( trap )
|
||||
{
|
||||
logerror("m6800: illegal opcode: address %04X, op %02X\n",PC-1,(int) M_RDOP_ARG(PC-1)&0xFF);
|
||||
PC--;
|
||||
take_trap();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user