2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Fixed the gpu command list size when creating CiTraces.

This commit is contained in:
Subv 2016-12-07 13:13:14 -05:00
parent 5234f2d287
commit 5719467add

View file

@ -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);