diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-06-09 10:59:02 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-06-09 10:59:51 +0200 |
| commit | e427c6e9cdbb69f6eb14a624ec9c6c9fd6d24849 (patch) | |
| tree | 03dad05a73c81d29b23d7be9d20fbee4de8f0109 /src | |
| parent | caba957426f5a93a1e4d6db5a9894708b1ed71b8 (diff) | |
| download | box64-e427c6e9cdbb69f6eb14a624ec9c6c9fd6d24849.tar.gz box64-e427c6e9cdbb69f6eb14a624ec9c6c9fd6d24849.zip | |
[DYNAREC] Reset table64size before pass1 and pass2
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynarec/dynarec_native.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dynarec/dynarec_native.c b/src/dynarec/dynarec_native.c index 6155bf84..d47ab2fb 100644 --- a/src/dynarec/dynarec_native.c +++ b/src/dynarec/dynarec_native.c @@ -763,7 +763,7 @@ void* FillBlock64(dynablock_t* block, uintptr_t addr, int alternate, int is32bit // no need for next anymore helper.next_sz = helper.next_cap = 0; helper.next = NULL; - + helper.table64size = 0; // pass 1, float optimizations, first pass for flags native_pass1(&helper, addr, alternate, is32bits, inst_max); if(helper.abort) { @@ -776,6 +776,7 @@ void* FillBlock64(dynablock_t* block, uintptr_t addr, int alternate, int is32bit helper.need_x87check = 0; } POSTUPDATE_SPECIFICS(&helper); + helper.table64size = 0; // pass 2, instruction size helper.callrets = static_callrets; native_pass2(&helper, addr, alternate, is32bits, inst_max); |