summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbmaupin2019-11-05 13:27:19 -0500
committerbmaupin2020-02-27 13:52:59 -0500
commit59c4f7f5c7ef0923d24ee8421ec4ff38a6336f15 (patch)
tree313a2ce7f83f3ddf0c4260b393178a2206ceaf04
parent4d6846b4b72f0f5bbfeb684106cbf5fca8d4743a (diff)
downloadpicogpsp-59c4f7f5c7ef0923d24ee8421ec4ff38a6336f15.tar.gz
picogpsp-59c4f7f5c7ef0923d24ee8421ec4ff38a6336f15.tar.bz2
picogpsp-59c4f7f5c7ef0923d24ee8421ec4ff38a6336f15.zip
Fix periodic ram_translation_cache crashes
-rw-r--r--libretro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libretro.c b/libretro.c
index a7255e7..61e4022 100644
--- a/libretro.c
+++ b/libretro.c
@@ -490,7 +490,7 @@ bool retro_load_game(const struct retro_game_info* info)
rom_translation_ptr = rom_translation_cache;
ram_translation_ptr = ram_translation_cache;
bios_translation_ptr = bios_translation_cache;
-#elif defined(VITA)
+#elif defined(PSP) || defined(VITA)
dynarec_enable = 1;
rom_translation_ptr = rom_translation_cache;
ram_translation_ptr = ram_translation_cache;