diff options
| author | Subv <subv2112@gmail.com> | 2016-12-07 13:13:14 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2016-12-08 15:21:02 -0500 |
| commit | 4650bc60b4c787e03b67826aa0084e21592c418e (patch) | |
| tree | 2920b2a24023fa01cb41d82ef7b721bc5db41340 /src/core/hw/gpu.cpp | |
| parent | 7c9dd58580d1bed0fa26c0f1e2b071e9303db528 (diff) | |
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 45dedea688..7cb03ba8e5 100644 --- a/src/core/hw/gpu.cpp +++ b/src/core/hw/gpu.cpp @@ -476,8 +476,8 @@ inline void Write(u32 addr, const T data) { u32* buffer = (u32*)Memory::GetPhysicalPointer(config.GetPhysicalAddress()); if (Pica::g_debug_context && Pica::g_debug_context->recorder) { - Pica::g_debug_context->recorder->MemoryAccessed( - (u8*)buffer, config.size * sizeof(u32), config.GetPhysicalAddress()); + Pica::g_debug_context->recorder->MemoryAccessed((u8*)buffer, config.size, + config.GetPhysicalAddress()); } Pica::CommandProcessor::ProcessCommandList(buffer, config.size); |
