summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/engine_upload.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-04-23 17:21:00 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-04-23 17:21:00 +0200
commitf1e5314f1a57b09bd45e0db3ca91449e761c431a (patch)
treed3b5d08f507572018a081a33607d0e70ef26f4f4 /src/video_core/engines/engine_upload.cpp
parentAdd Documentation Headers to all the GPU Engines (diff)
downloadyuzu-f1e5314f1a57b09bd45e0db3ca91449e761c431a.tar
yuzu-f1e5314f1a57b09bd45e0db3ca91449e761c431a.tar.gz
yuzu-f1e5314f1a57b09bd45e0db3ca91449e761c431a.tar.bz2
yuzu-f1e5314f1a57b09bd45e0db3ca91449e761c431a.tar.lz
yuzu-f1e5314f1a57b09bd45e0db3ca91449e761c431a.tar.xz
yuzu-f1e5314f1a57b09bd45e0db3ca91449e761c431a.tar.zst
yuzu-f1e5314f1a57b09bd45e0db3ca91449e761c431a.zip
Diffstat (limited to 'src/video_core/engines/engine_upload.cpp')
-rw-r--r--src/video_core/engines/engine_upload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/engine_upload.cpp b/src/video_core/engines/engine_upload.cpp
index 663d5517a..867457f25 100644
--- a/src/video_core/engines/engine_upload.cpp
+++ b/src/video_core/engines/engine_upload.cpp
@@ -25,7 +25,7 @@ void State::ProcessData(const u32 data, const bool is_last_call) {
write_offset += sub_copy_size;
if (is_last_call) {
const GPUVAddr address{regs.dest.Address()};
- if (linear) {
+ if (is_linear) {
memory_manager.WriteBlock(address, inner_buffer.data(), copy_size);
} else {
UNIMPLEMENTED_IF(regs.dest.z != 0);