summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-27 06:49:40 +0200
committerGitHub <noreply@github.com>2018-04-27 06:49:40 +0200
commit3c404964097a0882ce9651571ec02c54474350ce (patch)
tree37932b0e46a5190fbe54a83fe06706d171e6141a /src/core/hle/service/nvdrv
parentMerge pull request #406 from lioncash/frontend (diff)
parentSwitched to NGLOG_WARNING (diff)
downloadyuzu-3c404964097a0882ce9651571ec02c54474350ce.tar
yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.gz
yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.bz2
yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.lz
yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.xz
yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.zst
yuzu-3c404964097a0882ce9651571ec02c54474350ce.zip
Diffstat (limited to 'src/core/hle/service/nvdrv')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
index 1e457ae6e..3c78ecaea 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
@@ -79,6 +79,7 @@ u32 nvhost_ctrl_gpu::GetTPCMasks(const std::vector<u8>& input, std::vector<u8>&
std::memcpy(&params, input.data(), input.size());
NGLOG_WARNING(Service_NVDRV, "(STUBBED) called, mask={:#X}, mask_buf_addr={:#X}",
params.mask_buf_size, params.mask_buf_addr);
+ params.unk = 0xcafe; // TODO(ogniK): Needs to be non 0, what does this actually do?
std::memcpy(output.data(), &params, sizeof(params));
return 0;
}