summaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-12-10 09:20:05 -0500
committerGravatar bunnei2014-12-10 09:20:05 -0500
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.gz
yuzu-ae3c6e82f70e84b4a2823ece9aeabf6fa1127956.tar.xz
yuzu-ae3c6e82f70e84b4a2823ece9aeabf6fa1127956.zip
Merge pull request #243 from bunnei/fix-gsp-synch
Fix gsp synch
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) {
154 if (config.trigger & 1) 154 if (config.trigger & 1)
155 { 155 {
156 u32* buffer = (u32*)Memory::GetPointer(Memory::PhysicalToVirtualAddress(config.GetPhysicalAddress())); 156 u32* buffer = (u32*)Memory::GetPointer(Memory::PhysicalToVirtualAddress(config.GetPhysicalAddress()));
157 u32 size = config.size << 3; 157 Pica::CommandProcessor::ProcessCommandList(buffer, config.size);
158 Pica::CommandProcessor::ProcessCommandList(buffer, size);
159 } 158 }
160 break; 159 break;
161 } 160 }