From 67b15f09cfdde0053be16c99ebbf5db20e61c1e5 Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Thu, 29 May 2025 17:41:36 +0800 Subject: [WOW64] Added more missing pieces and the interpreter works (#2682) * [WOW64] Added more missing pieces and the interpreter works Ported from AndreRH/hangover * review --- src/emu/x64run.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/emu') diff --git a/src/emu/x64run.c b/src/emu/x64run.c index aaf27b18..078a7ea9 100644 --- a/src/emu/x64run.c +++ b/src/emu/x64run.c @@ -1531,6 +1531,11 @@ x64emurun: break; case 0xCD: /* INT n */ tmp8u = F8; + #ifdef _WIN32 + EmitInterruption(emu, tmp8u, (void*)R_RIP); + STEP; + addr = R_RIP; + #else // this is a privilege opcode... if(box64_wine && tmp8u==0x2D) { // lets ignore the INT 2D @@ -1567,6 +1572,7 @@ x64emurun: STEP2; #endif } + #endif break; case 0xCE: /* INTO */ if(!rex.is32bits) { -- cgit 1.4.1