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)