Remove some debugging junk.

This commit is contained in:
magumagu 2015-01-25 23:11:36 -08:00
parent cb05730127
commit 33259c272b
2 changed files with 1 additions and 2 deletions

View File

@ -188,7 +188,6 @@ size_t PSTextureEncoder::Encode(u8* dst, unsigned int dstFormat,
u8* src = (u8*)map.pData; u8* src = (u8*)map.pData;
for (unsigned int y = 0; y < numBlocksY; ++y) for (unsigned int y = 0; y < numBlocksY; ++y)
{ {
_assert_msg_(POWERPC, map.RowPitch >= cacheLinesPerRow * 32, "");
memcpy(dst, src, cacheLinesPerRow*32); memcpy(dst, src, cacheLinesPerRow*32);
dst += bpmem.copyMipMapStrideChannels*32; dst += bpmem.copyMipMapStrideChannels*32;
src += map.RowPitch; src += map.RowPitch;

View File

@ -191,7 +191,7 @@ void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFo
else if (!TextureCache::Find(addr, hash)) else if (!TextureCache::Find(addr, hash))
TextureCache::MakeRangeDynamic(addr, (u32)encoded_size); TextureCache::MakeRangeDynamic(addr, (u32)encoded_size);
this->hash = 0; this->hash = hash;
} }
} }