mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-23 04:12:55 +00:00
Fixed the gpu command list size when creating CiTraces.
This commit is contained in:
parent
5234f2d287
commit
5719467add
|
@ -476,8 +476,8 @@ inline void Write(u32 addr, const T data) {
|
||||||
u32* buffer = (u32*)Memory::GetPhysicalPointer(config.GetPhysicalAddress());
|
u32* buffer = (u32*)Memory::GetPhysicalPointer(config.GetPhysicalAddress());
|
||||||
|
|
||||||
if (Pica::g_debug_context && Pica::g_debug_context->recorder) {
|
if (Pica::g_debug_context && Pica::g_debug_context->recorder) {
|
||||||
Pica::g_debug_context->recorder->MemoryAccessed(
|
Pica::g_debug_context->recorder->MemoryAccessed((u8*)buffer, config.size,
|
||||||
(u8*)buffer, config.size * sizeof(u32), config.GetPhysicalAddress());
|
config.GetPhysicalAddress());
|
||||||
}
|
}
|
||||||
|
|
||||||
Pica::CommandProcessor::ProcessCommandList(buffer, config.size);
|
Pica::CommandProcessor::ProcessCommandList(buffer, config.size);
|
||||||
|
|
Loading…
Reference in a new issue