fix uninitialised memory mapping

This commit is contained in:
RSDuck
2019-07-21 23:56:24 +02:00
committed by RSDuck
parent d74b15eecc
commit 00cd9af033
3 changed files with 6 additions and 1 deletions

View File

@ -258,9 +258,11 @@ void ARMv5::UpdatePURegions(bool update_all)
void ARMv5::UpdateRegionTimings(u32 addrstart, u32 addrend)
{
printf("initialising region timings %x %x\n", addrstart, addrend);
addrstart >>= 12;
addrend >>= 12;
if (addrend == 0xFFFFF) addrend++;
for (u32 i = addrstart; i < addrend; i++)