about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-04-19 15:23:02 +0000
committerptitSeb <sebastien.chev@gmail.com>2023-04-19 15:23:02 +0000
commit790a7a37d20161c1cfa5d44d05e143b663227b08 (patch)
tree8fbdce625c394cb60efa2adfb0052afd37c996db /src
parentc0eace067a1fdfdb2244a4c483a4c86a2d81703d (diff)
downloadbox64-790a7a37d20161c1cfa5d44d05e143b663227b08.tar.gz
box64-790a7a37d20161c1cfa5d44d05e143b663227b08.zip
Fixed non-dynarec build
Diffstat (limited to 'src')
-rwxr-xr-xsrc/dynarec/dynarec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dynarec/dynarec.c b/src/dynarec/dynarec.c
index 16d83e5f..be7c6a31 100755
--- a/src/dynarec/dynarec.c
+++ b/src/dynarec/dynarec.c
@@ -94,8 +94,10 @@ void DynaCall(x64emu_t* emu, uintptr_t addr)
             if(sigsetjmp((struct __jmp_buf_tag*)ejb->jmpbuf, 1)) {
                 printf_log(LOG_DEBUG, "Setjmp DynaCall, fs=0x%x\n", ejb->emu->segs[_FS]);
                 addr = R_RIP;   // not sure if it should still be inside DynaCall!
+                #ifdef DYNAREC
                 if(box64_dynarec_test)
                     emu->test.clean = 0;
+                #endif
             }
         }
     }
@@ -183,8 +185,10 @@ int DynaRun(x64emu_t* emu)
 #endif
             if(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)
                     emu->test.clean = 0;
+                #endif
         }
     }
 #ifdef DYNAREC