From bf0767b4f379809bdcca79d82ac90ced1158809b Mon Sep 17 00:00:00 2001 From: DesperateProgrammer Date: Thu, 25 Jan 2024 10:48:04 +0100 Subject: [PATCH] Added CP15 prefetch routine --- src/CP15.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CP15.cpp b/src/CP15.cpp index fef3eac1..c2f8720c 100644 --- a/src/CP15.cpp +++ b/src/CP15.cpp @@ -899,6 +899,9 @@ void ARMv5::CP15Write(u32 id, u32 val) case 0x7D1: Log(LogLevel::Debug,"Prefetch instruction cache MVA\n"); + // we force a fill by looking up the value from cache + // if it wasn't cached yet, it will be loaded into cache + ICacheLookup(val & ~0x03); break; case 0x7E0: