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;