mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-27 05:36:42 +00:00
Merge pull request #2280 from Subv/citrace_size
Fixed the gpu command list size when creating CiTraces.
This commit is contained in:
commit
998390ac1a
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue