Skip to content

Commit

Permalink
Implemented sceKernelICacheInvalidateRange
Browse files Browse the repository at this point in the history
Fixes crash in mhp3 hot springs after some missions
  • Loading branch information
hilesaz committed Feb 24, 2014
1 parent eb38660 commit 139c7ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Core/HLE/sceKernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ int sceKernelDcacheInvalidateRange(u32 addr, int size)
int sceKernelIcacheInvalidateRange(u32 addr, int size) {
DEBUG_LOG(CPU,"sceKernelIcacheInvalidateRange(%08x, %i)", addr, size);
// TODO: Make the JIT hash and compare the touched blocks.
if(MIPSComp::jit){
MIPSComp::jit->ClearCacheAt(addr, size);
}
return 0;
}

Expand Down

0 comments on commit 139c7ff

Please sign in to comment.