summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/i386/i386segs.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/i386/i386segs.hxx')
-rw-r--r--src/devices/cpu/i386/i386segs.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/i386/i386segs.hxx b/src/devices/cpu/i386/i386segs.hxx
index de7efe755f2..b1a9e03f885 100644
--- a/src/devices/cpu/i386/i386segs.hxx
+++ b/src/devices/cpu/i386/i386segs.hxx
@@ -758,7 +758,7 @@ void i386_device::i386_trap(int irq, int irq_gate, int trap_level)
catch(uint64_t e)
{
REG32(ESP) = tempSP;
- throw e;
+ throw emu_fatalerror("i386_trap: %llx", e);
}
if(SetRPL != 0)
segment = (segment & ~0x03) | m_CPL;
@@ -1762,7 +1762,7 @@ void i386_device::i386_protected_mode_call(uint16_t seg, uint32_t off, int indir
catch(uint64_t e)
{
REG32(ESP) = tempSP;
- throw e;
+ throw emu_fatalerror("i386_protected_mode_call: %llx", e);
}
CHANGE_PC(m_eip);