summaryrefslogtreecommitdiff
path: root/libretro.c
diff options
context:
space:
mode:
Diffstat (limited to 'libretro.c')
-rw-r--r--libretro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libretro.c b/libretro.c
index 9bd17fa..f74c0cd 100644
--- a/libretro.c
+++ b/libretro.c
@@ -690,7 +690,7 @@ static void check_variables(int started_from_load)
dynarec_enable = 1;
if (dynarec_enable != prevvalue)
- wipe_caches();
+ init_caches();
}
else
dynarec_enable = 1;
@@ -823,7 +823,7 @@ static void set_input_descriptors()
static void set_memory_descriptors(void)
{
const uint64_t mem = RETRO_MEMORY_SYSTEM_RAM;
- struct retro_memory_descriptor desc[9] = {
+ struct retro_memory_descriptor desc[2] = {
{ mem, iwram, 0x00000 + 0x8000, 0x3000000, 0, 0, 0x8000, NULL },
{ mem, ewram, 0x00000, 0x2000000, 0, 0, 0x40000, NULL },
};