mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 06:19:59 +00:00
MaxwellDMA: Correct copying on accuracy level.
This commit is contained in:
parent
644588fd88
commit
1b3be8a8f8
1 changed files with 7 additions and 2 deletions
|
@ -104,8 +104,13 @@ void MaxwellDMA::HandleCopy() {
|
||||||
write_buffer.resize(dst_size);
|
write_buffer.resize(dst_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
memory_manager.ReadBlock(source, read_buffer.data(), src_size);
|
if (Settings::IsGPULevelExtreme()) {
|
||||||
memory_manager.ReadBlock(dest, write_buffer.data(), dst_size);
|
memory_manager.ReadBlock(source, read_buffer.data(), src_size);
|
||||||
|
memory_manager.ReadBlock(dest, write_buffer.data(), dst_size);
|
||||||
|
} else {
|
||||||
|
memory_manager.ReadBlockUnsafe(source, read_buffer.data(), src_size);
|
||||||
|
memory_manager.ReadBlockUnsafe(dest, write_buffer.data(), dst_size);
|
||||||
|
}
|
||||||
|
|
||||||
Texture::UnswizzleSubrect(
|
Texture::UnswizzleSubrect(
|
||||||
regs.x_count, regs.y_count, regs.dst_pitch, regs.src_params.size_x, bytes_per_pixel,
|
regs.x_count, regs.y_count, regs.dst_pitch, regs.src_params.size_x, bytes_per_pixel,
|
||||||
|
|
Loading…
Reference in a new issue