From 52088a4d10af9a8c0e95b0eb168d4dfd0a13639f Mon Sep 17 00:00:00 2001 From: negativeExponent <54053706+negativeExponent@users.noreply.github.com> Date: Wed, 28 Apr 2021 02:39:44 +0800 Subject: [PATCH] Fix invalid memory map entries --- libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro.c b/libretro.c index 0373c94..21ca04f 100644 --- a/libretro.c +++ b/libretro.c @@ -808,7 +808,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 }, };