summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2017-01-04 12:16:48 -0600
committer cracyc <cracyc@users.noreply.github.com>2017-01-04 12:16:48 -0600
commitafb373f8fd4cadfbb123bffc4b8335b4b90be4aa (patch)
treeb9e8d5453f64fd5d9323a9efc0ec0250a1c89d3e
parentf1ed3b561a9c2f7f6650614fd5c2ca8c3f6ca836 (diff)
i386: logerror for invalid rep rather than fatal error (nw)
-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 ) {