From c7b2a5f2df98f0914c6536cda02c7b6c158492d7 Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Sun, 25 Aug 2024 02:24:57 +0800 Subject: More fixes --- src/dynarec/rv64/dynarec_rv64_functions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dynarec/rv64/dynarec_rv64_functions.c b/src/dynarec/rv64/dynarec_rv64_functions.c index cc2d2ea7..37b81c09 100644 --- a/src/dynarec/rv64/dynarec_rv64_functions.c +++ b/src/dynarec/rv64/dynarec_rv64_functions.c @@ -415,7 +415,7 @@ void extcacheUnwind(extcache_t* cache) if(cache->news) { // remove the newly created extcache for(int i=0; i<24; ++i) - if(cache->news&(1<news&(1<olds[i].changed) cache->extcache[i].v = 0; cache->news = 0; } @@ -432,7 +432,7 @@ void extcacheUnwind(extcache_t* cache) cache->extcache[i].t = EXT_CACHE_SD; if (cache->olds[i].purged) - cache->extcache[i].n = cache->olds[i].reg; + cache->extcache[i].n = i; } } -- cgit 1.4.1