about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-11-17 16:21:38 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-11-17 16:21:38 +0100
commit54be0c0dec8ad3c81caa0366f84c056717792cb2 (patch)
treeec3f895739734aba1a0b73eb622634cf39c1e8c4 /src/emu
parent20df2789b542b5c280d71b4ae0fa797a24f6d130 (diff)
downloadbox64-54be0c0dec8ad3c81caa0366f84c056717792cb2.tar.gz
box64-54be0c0dec8ad3c81caa0366f84c056717792cb2.zip
Saved defered flag status when processing signal / foreign function
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index 2296611e..0edfcc08 100644
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -2068,7 +2068,7 @@ if(emu->segs[_CS]!=0x33 && emu->segs[_CS]!=0x23) printf_log(LOG_NONE, "Warning,
         goto x64emurun;
     }
     // setcontext handling
-    else if(emu->uc_link) {
+    else if(emu->quit && emu->uc_link) {
         emu->quit = 0;
         my_setcontext(emu, emu->uc_link);
         addr = R_RIP;