ARM_Interface: Allow for partial invalidation of instruction cache

This commit is contained in:
MerryMage 2017-09-11 12:54:14 +01:00
parent cdde8ddb04
commit 647e553f64
5 changed files with 18 additions and 0 deletions

View file

@ -187,6 +187,10 @@ void ARM_Dynarmic::ClearInstructionCache() {
}
}
void ARM_Dynarmic::InvalidateCacheRange(u32 start_address, size_t length) {
jit->InvalidateCacheRange(start_address, length);
}
void ARM_Dynarmic::PageTableChanged() {
current_page_table = Memory::GetCurrentPageTable();

View file

@ -41,6 +41,7 @@ public:
void PrepareReschedule() override;
void ClearInstructionCache() override;
void InvalidateCacheRange(u32 start_address, size_t length) override;
void PageTableChanged() override;
private: