(Partially) slip thin3d underneath DrawBuffer.

This commit is contained in:
Henrik Rydgard committed 2014-08-22 20:54:53 +02:00
1 parent dfbb0bdea2
commit 808f05da89
14 files changed
+31 -177

No files matched your search

+1 -1
View File
@@ -316,7 +316,7 @@ MIPSOpcode JitBlockCache::GetEmuHackOpForBlock(int blockNum) const {
}
int JitBlockCache::GetBlockNumberFromStartAddress(u32 addr, bool realBlocksOnly) {
if (!blocks_)
if (!blocks_ || !Memory::IsValidAddress(addr))
return -1;
MIPSOpcode inst = MIPSOpcode(Memory::Read_U32(addr));