summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/devices/cpu/i386/i386ops.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/cpu/i386/i386ops.hxx b/src/devices/cpu/i386/i386ops.hxx
index e27bb4a13bc..1d00ac21566 100644
--- a/src/devices/cpu/i386/i386ops.hxx
+++ b/src/devices/cpu/i386/i386ops.hxx
@@ -1224,8 +1224,9 @@ void i386_device::i386_repeat(int invert_flag)
return;
default:
- fatalerror("i386: Invalid REP/opcode %02X combination\n",opcode);
- break;
+ logerror("i386: Invalid REP/opcode %02X combination at %08x\n",opcode, m_pc - 2);
+ m_pc--;
+ return;
}
if( m_address_size ) {