update core

This commit is contained in:
Logan McNaughton committed 2022-08-06 18:34:38 -06:00
1 parent c889b83648
commit 231f3b67f1
1 file changed
+1 -1
+1 -1
View File
@@ -75,7 +75,6 @@ void icache_fill(struct instcache *line, struct r4300_core* r4300, uint32_t addr
uint32_t* icache_fetch(struct r4300_core* r4300, uint32_t address)
{
struct instcache *line = &r4300->icache[(address >> 5) & UINT32_C(0x1FF)];
uint8_t cached = 0;
do_SP_Task(r4300->sp);
cp0_base_cycle(r4300);
@@ -84,6 +83,7 @@ uint32_t* icache_fetch(struct r4300_core* r4300, uint32_t address)
cp0_itm_interlock(r4300);
return NULL;
}
struct instcache *line = &r4300->icache[(address >> 5) & UINT32_C(0x1FF)];
if (cached)
{
if(!icache_hit(line, address))