From 47c7cdc547aef7fbe467d87581f9bbce88858739 Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Mon, 10 Jul 2023 08:20:23 -0600 Subject: [PATCH] update core --- mupen64plus-core/src/device/rdram/rdram.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mupen64plus-core/src/device/rdram/rdram.c b/mupen64plus-core/src/device/rdram/rdram.c index a3d705f..e13aed5 100644 --- a/mupen64plus-core/src/device/rdram/rdram.c +++ b/mupen64plus-core/src/device/rdram/rdram.c @@ -236,6 +236,10 @@ void read_rdram_dram(void* opaque, uint32_t address, uint32_t* value) { *value = rdram->dram[addr]; } + else + { + *value = 0; + } } void write_rdram_dram(void* opaque, uint32_t address, uint32_t value, uint32_t mask)