summaryrefslogtreecommitdiffstats
path: root/src/core/hw/gpu.cpp
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/hw/gpu.cpp
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/hw/gpu.cpp')
-rw-r--r--src/core/hw/gpu.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index af5e1b39b..77557e582 100644
--- a/src/core/hw/gpu.cpp
+++ b/src/core/hw/gpu.cpp
@@ -154,8 +154,7 @@ inline void Write(u32 addr, const T data) {
if (config.trigger & 1)
{
u32* buffer = (u32*)Memory::GetPointer(Memory::PhysicalToVirtualAddress(config.GetPhysicalAddress()));
- u32 size = config.size << 3;
- Pica::CommandProcessor::ProcessCommandList(buffer, size);
+ Pica::CommandProcessor::ProcessCommandList(buffer, config.size);
}
break;
}