diff options
| author | 2014-12-10 09:20:05 -0500 | |
|---|---|---|
| committer | 2014-12-10 09:20:05 -0500 | |
| commit | ae3c6e82f70e84b4a2823ece9aeabf6fa1127956 (patch) | |
| tree | 5305a9a909f0ed8c35aad59c81f910203f4c0aa2 /src/core/hw/gpu.cpp | |
| parent | Merge pull request #269 from archshift/le (diff) | |
| parent | GSP: Trigger GPU interrupts at more accurate locations. (diff) | |
| download | yuzu-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.cpp | 3 |
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 | } |