mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 05:27:58 -05:00
decoders: correct block calculation
This commit is contained in:
committed by
ReinUsesLisp
parent
3dd7643214
commit
7232a1ed16
@ -39,7 +39,7 @@ void State::ProcessData(const u32 data, const bool is_last_call) {
|
||||
UNIMPLEMENTED_IF(regs.dest.BlockWidth() != 0);
|
||||
UNIMPLEMENTED_IF(regs.dest.BlockDepth() != 0);
|
||||
const std::size_t dst_size = Tegra::Texture::CalculateSize(
|
||||
true, 1, regs.dest.width, regs.dest.height, 1, regs.dest.BlockHeight(), 1);
|
||||
true, 1, regs.dest.width, regs.dest.height, 1, regs.dest.BlockHeight(), 0);
|
||||
tmp_buffer.resize(dst_size);
|
||||
memory_manager.ReadBlock(address, tmp_buffer.data(), dst_size);
|
||||
Tegra::Texture::SwizzleKepler(regs.dest.width, regs.dest.height, regs.dest.x, regs.dest.y,
|
||||
|
Reference in New Issue
Block a user