about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-12-07 13:42:06 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-12-07 13:42:06 +0100
commit06319911d4681f2a38ca50a4cf0c36617dba4097 (patch)
treeb2db3cd37af28388a5599c6a705fc9642a1dff9e /src
parent98959e902b76ba4d818d3d8293b4ee6bfc82b5dc (diff)
parent1e996410f817749f73581cdc3df1b571eb9ba493 (diff)
downloadbox64-06319911d4681f2a38ca50a4cf0c36617dba4097.tar.gz
box64-06319911d4681f2a38ca50a4cf0c36617dba4097.zip
Merge branch 'main' of https://github.com/ptitSeb/box64
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/rv64/dynarec_rv64_helper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_helper.c b/src/dynarec/rv64/dynarec_rv64_helper.c
index 2b4675b6..8fe096bc 100644
--- a/src/dynarec/rv64/dynarec_rv64_helper.c
+++ b/src/dynarec/rv64/dynarec_rv64_helper.c
@@ -1883,7 +1883,9 @@ static void fpuCacheTransform(dynarec_rv64_t* dyn, int ninst, int s1, int s2, in
         s3_top = 0;
         stack_cnt = cache_i2.stack;
     }
-    extcache_t cache = dyn->e;
+
+    // FIXME: why we can't just use dyn->e here? debug that!
+    extcache_t cache = dyn->insts[ninst].e;
     int s1_val = 0;
     int s2_val = 0;
     // unload every uneeded cache