From 83c67e16abb07e9d5bc51f8fd8bdd0f73d202c06 Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Sun, 30 Jul 2023 18:06:37 -0600 Subject: [PATCH] update core --- mupen64plus-core/src/device/r4300/dcache.c | 2 +- mupen64plus-core/src/device/r4300/icache.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mupen64plus-core/src/device/r4300/dcache.c b/mupen64plus-core/src/device/r4300/dcache.c index a3ef038..0147324 100644 --- a/mupen64plus-core/src/device/r4300/dcache.c +++ b/mupen64plus-core/src/device/r4300/dcache.c @@ -48,7 +48,7 @@ void dcache_writeback(struct r4300_core* r4300, struct datacache *line) static void dcache_fill(struct datacache *line, struct r4300_core* r4300, uint32_t address) { - cp0_dcb_interlock(r4300, 14); // not sure about this + cp0_dcb_interlock(r4300, 5); line->valid = 1; line->dirty = 0; line->tag = address & ~UINT32_C(0xFFF); diff --git a/mupen64plus-core/src/device/r4300/icache.c b/mupen64plus-core/src/device/r4300/icache.c index 15e446a..bbd3517 100644 --- a/mupen64plus-core/src/device/r4300/icache.c +++ b/mupen64plus-core/src/device/r4300/icache.c @@ -53,7 +53,7 @@ void icache_writeback(struct r4300_core* r4300, struct instcache *line) void icache_fill(struct instcache *line, struct r4300_core* r4300, uint32_t address) { - cp0_icb_interlock(r4300, 24); // not sure about this + cp0_icb_interlock(r4300, 6); line->valid = 1; line->tag = address & ~UINT32_C(0xFFF); r4300->current_access_size = ACCESS_ICACHE;