diff options
| author | 2016-12-08 15:45:53 -0500 | |
|---|---|---|
| committer | 2016-12-08 15:45:53 -0500 | |
| commit | 998390ac1a5d867d5441a921956d16f22d27a137 (patch) | |
| tree | b728f58138b1791f9f4acca4388476cc9ad68eca /src/core/hw/gpu.cpp | |
| parent | Merge pull request #2286 from lioncash/svc (diff) | |
| parent | Fixed the gpu command list size when creating CiTraces. (diff) | |
| download | yuzu-998390ac1a5d867d5441a921956d16f22d27a137.tar.gz yuzu-998390ac1a5d867d5441a921956d16f22d27a137.tar.xz yuzu-998390ac1a5d867d5441a921956d16f22d27a137.zip | |
Merge pull request #2280 from Subv/citrace_size
Fixed the gpu command list size when creating CiTraces.
Diffstat (limited to 'src/core/hw/gpu.cpp')
| -rw-r--r-- | src/core/hw/gpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp index cfba82e51..1503b45da 100644 --- a/src/core/hw/gpu.cpp +++ b/src/core/hw/gpu.cpp | |||
| @@ -487,8 +487,8 @@ inline void Write(u32 addr, const T data) { | |||
| 487 | u32* buffer = (u32*)Memory::GetPhysicalPointer(config.GetPhysicalAddress()); | 487 | u32* buffer = (u32*)Memory::GetPhysicalPointer(config.GetPhysicalAddress()); |
| 488 | 488 | ||
| 489 | if (Pica::g_debug_context && Pica::g_debug_context->recorder) { | 489 | if (Pica::g_debug_context && Pica::g_debug_context->recorder) { |
| 490 | Pica::g_debug_context->recorder->MemoryAccessed( | 490 | Pica::g_debug_context->recorder->MemoryAccessed((u8*)buffer, config.size, |
| 491 | (u8*)buffer, config.size * sizeof(u32), config.GetPhysicalAddress()); | 491 | config.GetPhysicalAddress()); |
| 492 | } | 492 | } |
| 493 | 493 | ||
| 494 | Pica::CommandProcessor::ProcessCommandList(buffer, config.size); | 494 | Pica::CommandProcessor::ProcessCommandList(buffer, config.size); |