mirror of
https://github.com/simple64/simple64.git
synced 2026-09-07 04:42:43 +02:00
update core
This commit is contained in:
@@ -738,6 +738,10 @@ static uint32_t update_invalid_addr(struct r4300_core* r4300, uint32_t addr)
|
||||
invalid_code[(beg_paddr+0xffc)>>12] = 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cp0_itm_interlock(r4300);
|
||||
}
|
||||
return paddr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,11 +76,7 @@ void icache_step(struct r4300_core* r4300, uint32_t address)
|
||||
return;
|
||||
do_SP_Task(r4300->sp);
|
||||
cp0_base_cycle(r4300);
|
||||
if (r4300_translate_address(r4300, &address, &r4300->cached, 2))
|
||||
{
|
||||
cp0_itm_interlock(r4300);
|
||||
return;
|
||||
}
|
||||
r4300_translate_address(r4300, &address, &r4300->cached, 2);
|
||||
if (r4300->cached)
|
||||
{
|
||||
struct instcache *line = &r4300->icache[(address >> 5) & UINT32_C(0x1FF)];
|
||||
|
||||
Reference in New Issue
Block a user