TextureCacheBase: Change CacheLinesPerRow to BytesPerRow

This commit is contained in:
Lioncash
2015-10-19 12:00:29 -04:00
parent dddc834c14
commit c28e3affc5
4 changed files with 23 additions and 20 deletions

View File

@ -279,7 +279,7 @@ void EncodeToRamFromTexture(u8 *dest_ptr, const TextureCache::TCacheEntryBase *t
source.left, source.top, texture_entry->native_width, bScaleByHalf ? 2 : 1);
EncodeToRamUsingShader(source_texture,
dest_ptr, texture_entry->CacheLinesPerRow() * 32, texture_entry->NumBlocksY(),
dest_ptr, texture_entry->BytesPerRow(), texture_entry->NumBlocksY(),
texture_entry->memory_stride, bScaleByHalf > 0 && !bFromZBuffer);
}