about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index e0dc0062..27232c9e 100644
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -2192,6 +2192,7 @@ if(emu->segs[_CS]!=0x33 && emu->segs[_CS]!=0x23) printf_log(LOG_NONE, "Warning,
     if(unimp) {
         emu->quit = 1;
         UnimpOpcode(emu, is32bits);
+        emit_signal(emu, SIGILL, (void*)R_RIP, 0);
     }
     // fork handling
     if(emu->fork) {