hd6301: RTI after TRAP returns to the address where the trap error occured

This commit is contained in:
hap 2023-12-04 12:05:41 +01:00
parent 18b8bfd408
commit 6a2b6f5197

View File

@ -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();
}