summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-12-03 07:05:16 +0100
committerbunnei <bunneidev@gmail.com>2014-12-10 01:07:13 +0100
commit170123982dfa8d5f7508d9808cf83d592267db21 (patch)
treed84e887fad4ad93a09fee3640c8fa5c658c25ffd /src/core/hle
parentMerge pull request #266 from yuriks/remove-ndma (diff)
downloadyuzu-170123982dfa8d5f7508d9808cf83d592267db21.tar
yuzu-170123982dfa8d5f7508d9808cf83d592267db21.tar.gz
yuzu-170123982dfa8d5f7508d9808cf83d592267db21.tar.bz2
yuzu-170123982dfa8d5f7508d9808cf83d592267db21.tar.lz
yuzu-170123982dfa8d5f7508d9808cf83d592267db21.tar.xz
yuzu-170123982dfa8d5f7508d9808cf83d592267db21.tar.zst
yuzu-170123982dfa8d5f7508d9808cf83d592267db21.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/gsp_gpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/gsp_gpu.cpp b/src/core/hle/service/gsp_gpu.cpp
index de1bd3f61..0d3a52478 100644
--- a/src/core/hle/service/gsp_gpu.cpp
+++ b/src/core/hle/service/gsp_gpu.cpp
@@ -219,7 +219,7 @@ static void ExecuteCommand(const Command& command, u32 thread_id) {
{
auto& params = command.set_command_list_last;
WriteGPURegister(GPU_REG_INDEX(command_processor_config.address), Memory::VirtualToPhysicalAddress(params.address) >> 3);
- WriteGPURegister(GPU_REG_INDEX(command_processor_config.size), params.size >> 3);
+ WriteGPURegister(GPU_REG_INDEX(command_processor_config.size), params.size);
// TODO: Not sure if we are supposed to always write this .. seems to trigger processing though
WriteGPURegister(GPU_REG_INDEX(command_processor_config.trigger), 1);