about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-05-08 21:57:12 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-05-08 21:57:12 +0200
commit04a7437158a13c8c4c0dd178d824053c9fbb6c37 (patch)
tree608bd7868278e69f1f87de8a43ffec54bd4c3264 /src
parent1fbeb6bd349bf5cbf08e176008d7dec9da8e6c18 (diff)
downloadbox64-04a7437158a13c8c4c0dd178d824053c9fbb6c37.tar.gz
box64-04a7437158a13c8c4c0dd178d824053c9fbb6c37.zip
[DYNAREC] Small fix in DynaRun
Diffstat (limited to 'src')
-rwxr-xr-xsrc/dynarec/dynarec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dynarec/dynarec.c b/src/dynarec/dynarec.c
index 5e5a5b7c..bfd83dee 100755
--- a/src/dynarec/dynarec.c
+++ b/src/dynarec/dynarec.c
@@ -191,7 +191,7 @@ int DynaRun(x64emu_t* emu)
 #ifdef DYNAREC
             jmpbuf_reset = 1;
 #endif
-            if((skip=sigsetjmp((struct __jmp_buf_tag*)ejb->jmpbuf, 1)))
+            if((skip=sigsetjmp((struct __jmp_buf_tag*)ejb->jmpbuf, 1))) {
                 printf_log(LOG_DEBUG, "Setjmp DynaRun, fs=0x%x\n", ejb->emu->segs[_FS]);
                 #ifdef DYNAREC
                 if(box64_dynarec_test) {
@@ -202,6 +202,7 @@ int DynaRun(x64emu_t* emu)
                 #endif
                 if(skip!=2)
                     skip = 0;
+            }
         }
     }
 #ifdef DYNAREC