update core

This commit is contained in:
Logan McNaughton committed 2023-07-30 18:06:37 -06:00
1 parent 17980c59fe
commit 83c67e16ab
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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;