about summary refs log tree commit diff stats
path: root/src/dynarec/dynarec_native.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-12-11 17:55:13 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-12-11 17:55:13 +0100
commited2134299523036989ecd140c2cd3dbff9378e14 (patch)
treedfb99a22e297f4a492dbc1d89b654834eb919979 /src/dynarec/dynarec_native.c
parent4c238f0e1777f197f6550a7f99e1cf1d7894c2e7 (diff)
downloadbox64-ed2134299523036989ecd140c2cd3dbff9378e14.tar.gz
box64-ed2134299523036989ecd140c2cd3dbff9378e14.zip
[DYNAREC] Small improvments on flags when end of block if trigger early
Diffstat (limited to 'src/dynarec/dynarec_native.c')
-rw-r--r--src/dynarec/dynarec_native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/dynarec_native.c b/src/dynarec/dynarec_native.c
index 4f37d9b3..ece7baa0 100644
--- a/src/dynarec/dynarec_native.c
+++ b/src/dynarec/dynarec_native.c
@@ -671,7 +671,7 @@ void* FillBlock64(dynablock_t* block, uintptr_t addr, int alternate, int is32bit
 
     PREUPDATE_SPECIFICS(&helper);
 
-    int pos = helper.size;
+    int pos = helper.size-1;
     while (pos>=0)
         pos = updateNeed(&helper, pos, 0);
     // remove fpu stuff on non-executed code