summaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorGravatar Subv2016-12-07 13:13:14 -0500
committerGravatar Subv2016-12-08 15:21:02 -0500
commit5719467addc4cfcef294cc0f600517f1c007b448 (patch)
tree2920b2a24023fa01cb41d82ef7b721bc5db41340 /src/core/hw/gpu.cpp
parentMerge pull request #2269 from Subv/update_dynarmic (diff)
downloadyuzu-5719467addc4cfcef294cc0f600517f1c007b448.tar.gz
yuzu-5719467addc4cfcef294cc0f600517f1c007b448.tar.xz
yuzu-5719467addc4cfcef294cc0f600517f1c007b448.zip
Fixed the gpu command list size when creating CiTraces.
Diffstat (limited to 'src/core/hw/gpu.cpp')
-rw-r--r--src/core/hw/gpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index 45dedea68..7cb03ba8e 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) {
476 u32* buffer = (u32*)Memory::GetPhysicalPointer(config.GetPhysicalAddress()); 476 u32* buffer = (u32*)Memory::GetPhysicalPointer(config.GetPhysicalAddress());
477 477
478 if (Pica::g_debug_context && Pica::g_debug_context->recorder) { 478 if (Pica::g_debug_context && Pica::g_debug_context->recorder) {
479 Pica::g_debug_context->recorder->MemoryAccessed( 479 Pica::g_debug_context->recorder->MemoryAccessed((u8*)buffer, config.size,
480 (u8*)buffer, config.size * sizeof(u32), config.GetPhysicalAddress()); 480 config.GetPhysicalAddress());
481 } 481 }
482 482
483 Pica::CommandProcessor::ProcessCommandList(buffer, config.size); 483 Pica::CommandProcessor::ProcessCommandList(buffer, config.size);