mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2026-01-01 20:18:50 +01:00
Add HAVE_DYNAREC ifdef to gba_memory.c
This commit is contained in:
parent
51d78afa09
commit
1bf4901b58
@ -3384,12 +3384,14 @@ void gba_load_state(const void* src)
|
||||
state_mem_read_ptr = src;
|
||||
savestate_block(read);
|
||||
|
||||
#ifdef HAVE_DYNAREC
|
||||
if (dynarec_enable)
|
||||
{
|
||||
flush_translation_cache_ram();
|
||||
flush_translation_cache_rom();
|
||||
flush_translation_cache_bios();
|
||||
}
|
||||
#endif
|
||||
|
||||
oam_update = 1;
|
||||
gbc_sound_update = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user