summaryrefslogtreecommitdiff
path: root/gba_memory.c
diff options
context:
space:
mode:
authorDavid Guillen Fandos2021-03-30 21:06:52 +0200
committerDavid Guillen Fandos2021-03-30 21:06:52 +0200
commit71ebc49b59d3b85ed9b8dc81d40e13a05a4f805f (patch)
treeb3feb2dcf190c1ba3f954d026a5e795bedf3d8f2 /gba_memory.c
parent336b14a876ceb45fe4d0a70e6df3301d1cdf25ba (diff)
downloadpicogpsp-71ebc49b59d3b85ed9b8dc81d40e13a05a4f805f.tar.gz
picogpsp-71ebc49b59d3b85ed9b8dc81d40e13a05a4f805f.tar.bz2
picogpsp-71ebc49b59d3b85ed9b8dc81d40e13a05a4f805f.zip
Improve indirect jumps in ARM
Handle already translated blocks in the ARM asm to speed up indirect branches (affect some games more than others)
Diffstat (limited to 'gba_memory.c')
-rw-r--r--gba_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gba_memory.c b/gba_memory.c
index b66dce7..8d3d39e 100644
--- a/gba_memory.c
+++ b/gba_memory.c
@@ -3322,7 +3322,7 @@ void gba_load_state(const void* src)
#ifdef HAVE_DYNAREC
if (dynarec_enable)
- wipe_caches();
+ init_caches();
#endif
reg[OAM_UPDATED] = 1;