summaryrefslogtreecommitdiffstats
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-12-10 15:20:05 +0100
committerbunnei <bunneidev@gmail.com>2014-12-10 15:20:05 +0100
commitae3c6e82f70e84b4a2823ece9aeabf6fa1127956 (patch)
tree5305a9a909f0ed8c35aad59c81f910203f4c0aa2 /src/core/hw/gpu.cpp
parentMerge pull request #269 from archshift/le (diff)
parentGSP: Trigger GPU interrupts at more accurate locations. (diff)
downloadyuzu-ae3c6e82f70e84b4a2823ece9aeabf6fa1127956.tar
yuzu-ae3c6e82f70e84b4a2823ece9aeabf6fa1127956.tar.gz
yuzu-ae3c6e82f70e84b4a2823ece9aeabf6fa1127956.tar.bz2
yuzu-ae3c6e82f70e84b4a2823ece9aeabf6fa1127956.tar.lz
yuzu-ae3c6e82f70e84b4a2823ece9aeabf6fa1127956.tar.xz
yuzu-ae3c6e82f70e84b4a2823ece9aeabf6fa1127956.tar.zst
yuzu-ae3c6e82f70e84b4a2823ece9aeabf6fa1127956.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;
}