From f6cd3dd51e8bf226b0078f1fa4ddcf0d3dc637df Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Mon, 28 Jul 2003 08:25:02 +0000 Subject: [PATCH] On exception reset eip to start of opcode. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1173 --- src/cpu/core_full.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/core_full.cpp b/src/cpu/core_full.cpp index 5dd03875..053e339f 100644 --- a/src/cpu/core_full.cpp +++ b/src/cpu/core_full.cpp @@ -71,6 +71,7 @@ static INLINE void DecodeModRM(void) { #define EXCEPTION(blah) \ { \ Bit8u new_num=blah; \ + IPPoint=inst.start_entry; \ LEAVECORE; \ Interrupt(new_num); \ LoadIP(); \