mirror of
https://github.com/simple64/simple64.git
synced 2026-11-14 21:18:42 +01:00
update core
This commit is contained in:
1 parent
17980c59fe
commit
83c67e16ab
2 files changed
+2
-2
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user