summaryrefslogtreecommitdiff
path: root/gba_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'gba_memory.c')
-rw-r--r--gba_memory.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gba_memory.c b/gba_memory.c
index e1cb9a4..948bcc5 100644
--- a/gba_memory.c
+++ b/gba_memory.c
@@ -3394,10 +3394,7 @@ void gba_load_state(const void* src)
#ifdef HAVE_DYNAREC
if (dynarec_enable)
- {
- flush_translation_cache_ram();
- flush_translation_cache_rom();
- }
+ wipe_caches();
#endif
oam_update = 1;