mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
Crashfix
This commit is contained in:
1 parent
c5c3189436
commit
7375706d2f
1 file changed
+1
-1
@@ -319,9 +319,9 @@ void JitBlockCache::DestroyBlock(int block_num, bool invalidate)
|
||||
return;
|
||||
}
|
||||
b.invalid = true;
|
||||
b.normalEntry = 0;
|
||||
if ((int)Memory::ReadUnchecked_U32(b.originalAddress) == GetEmuHackOpForBlock(block_num))
|
||||
Memory::WriteUnchecked_U32(b.originalFirstOpcode, b.originalAddress);
|
||||
b.normalEntry = 0;
|
||||
|
||||
UnlinkBlock(block_num);
|
||||
|
||||
|
||||
Reference in new issue
Block a user