diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2025-05-29 17:41:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-29 11:41:36 +0200 |
| commit | 67b15f09cfdde0053be16c99ebbf5db20e61c1e5 (patch) | |
| tree | 6a3bbe89cfd172eac56b3bb016f3d807a510970e /src/emu | |
| parent | a0693590bd9c84844bfa767ffe51d7da916df3d5 (diff) | |
| download | box64-67b15f09cfdde0053be16c99ebbf5db20e61c1e5.tar.gz box64-67b15f09cfdde0053be16c99ebbf5db20e61c1e5.zip | |
[WOW64] Added more missing pieces and the interpreter works (#2682)
* [WOW64] Added more missing pieces and the interpreter works Ported from AndreRH/hangover * review
Diffstat (limited to 'src/emu')
| -rw-r--r-- | src/emu/x64run.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |