mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-11-27 10:04:16 +01:00
Fix flushing the cache are doing the relocations
This commit is contained in:
parent
6cb4f4e358
commit
28926f6a9b
@ -89,10 +89,8 @@ bool ResolveRelocations() {
|
|||||||
memset((void *) curModule.getSBSSAddr(), 0, curModule.getSBSSSize());
|
memset((void *) curModule.getSBSSAddr(), 0, curModule.getSBSSSize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count > 0) {
|
DCFlushRange((void *) 0x00800000, 0x00800000);
|
||||||
DCFlushRange((void *) 0x00800000, 0x00800000);
|
ICInvalidateRange((void *) 0x00800000, 0x00800000);
|
||||||
ICInvalidateRange((void *) 0x00800000, 0x00800000);
|
|
||||||
}
|
|
||||||
return wasSuccessful;
|
return wasSuccessful;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user