From 9c01f2cc3365b78830df20c3e937f77fdf9b5cde Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Wed, 10 Dec 2003 17:39:13 +0000 Subject: [PATCH] Use new cpu_sw_interrupt Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1484 --- src/ints/dpmi.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ints/dpmi.cpp b/src/ints/dpmi.cpp index bc8246e5..83f6f1c3 100644 --- a/src/ints/dpmi.cpp +++ b/src/ints/dpmi.cpp @@ -981,7 +981,7 @@ Bitu DPMI::SimulateInt(void) // Push flags from structure on stack DPMI_LOG("DPMI: SimInt1: StackInfo %04X:%04X (%02X %02X)",SegValue(ss),reg_esp,mem_readb(0xD0100+0x01FA),mem_readb(0xD0100+0x01FB)); reg_flags = mem_readw(data+0x20); - CPU_SW_Interrupt(num,0); + CPU_SW_Interrupt(num); DPMI_LOG("DPMI: SimInt2: StackInfo %04X:%04X (%02X %02X)",SegValue(ss),reg_esp,mem_readb(0xD0100+0x01FA),mem_readb(0xD0100+0x01FB)); return 0; }; @@ -1043,7 +1043,7 @@ Bitu DPMI::ptorHandler(void) DPMI_LOG("DPMI: INT %02X %04X called.",num,reg_ax); // Prepare flags for real int // CPU_SetFlagsw(reg_flags & 0x3ED5); // 0011111011010101b - CPU_SW_Interrupt(num,0); + CPU_SW_Interrupt(num); return 0; } @@ -1106,7 +1106,7 @@ Bitu DPMI::Int21Handler(void) reg_esp = rm_sp; // Call realmode interrupt DPMI_LOG("DPMI: INT 21 %04X called.",reg_ax); - CPU_SW_Interrupt(0x21,0); + CPU_SW_Interrupt(0x21); if (reg_ah==0x4C) { // Shut doen dpmi and restore previous one delete this;