Inline2Memory: Flush before writting buffer.

This commit is contained in:
Fernando Sahmkow 2022-01-29 17:42:28 +01:00
parent 11099dda2e
commit f54280dafd
2 changed files with 3 additions and 2 deletions

View file

@ -32,6 +32,7 @@ void State::ProcessData(const u32 data, const bool is_last_call) {
}
const GPUVAddr address{regs.dest.Address()};
if (is_linear) {
memory_manager.FlushRegion(address, copy_size);
memory_manager.WriteBlock(address, inner_buffer.data(), copy_size);
} else {
UNIMPLEMENTED_IF(regs.dest.z != 0);