mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Just invalidate blocks on ClearCacheAt().
This makes it safe to call from a jitted syscall, etc.
This commit is contained in:
1 parent
14bcca1f53
commit
b558189c37
8 files changed
+14
-14
No files matched your search
@@ -169,8 +169,8 @@ void Jit::ClearCache() {
|
||||
GenerateFixedCode();
|
||||
}
|
||||
|
||||
void Jit::ClearCacheAt(u32 em_address) {
|
||||
ClearCache();
|
||||
void Jit::ClearCacheAt(u32 em_address, int length) {
|
||||
blocks.InvalidateICache(em_address, length);
|
||||
}
|
||||
|
||||
Jit::Jit(MIPSState *mips) : blocks(mips, this), gpr(mips, &jo),mips_(mips)
|
||||
|
||||
Reference in new issue
Block a user