summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2016-12-08 21:45:53 +0100
committerGitHub <noreply@github.com>2016-12-08 21:45:53 +0100
commit998390ac1a5d867d5441a921956d16f22d27a137 (patch)
treeb728f58138b1791f9f4acca4388476cc9ad68eca /src
parentMerge pull request #2286 from lioncash/svc (diff)
parentFixed the gpu command list size when creating CiTraces. (diff)
downloadyuzu-998390ac1a5d867d5441a921956d16f22d27a137.tar
yuzu-998390ac1a5d867d5441a921956d16f22d27a137.tar.gz
yuzu-998390ac1a5d867d5441a921956d16f22d27a137.tar.bz2
yuzu-998390ac1a5d867d5441a921956d16f22d27a137.tar.lz
yuzu-998390ac1a5d867d5441a921956d16f22d27a137.tar.xz
yuzu-998390ac1a5d867d5441a921956d16f22d27a137.tar.zst
yuzu-998390ac1a5d867d5441a921956d16f22d27a137.zip
Diffstat (limited to 'src')
-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 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) {
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);