Remove some debugging junk.
This commit is contained in:
parent
cb05730127
commit
33259c272b
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue