Skip to content

Commit

Permalink
CPU/Recompiler: Actually use fetch ticks for uncached EXP1
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Dec 31, 2024
1 parent 34f2600 commit f25302c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/bus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,8 @@ const TickCount* Bus::GetMemoryAccessTimePtr(PhysicalMemoryAddress address, Memo
// Currently only BIOS, but could be EXP1 as well.
if (address >= BIOS_BASE && address < (BIOS_BASE + BIOS_MIRROR_SIZE))
return &g_bios_access_time[static_cast<size_t>(size)];
else if (address >= EXP1_BASE && address < (EXP1_BASE + EXP1_SIZE))
return &g_exp1_access_time[static_cast<size_t>(size)];

return nullptr;
}
Expand Down

0 comments on commit f25302c

Please sign in to comment.