yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #2280 from Subv/citrace_size

Fixed the gpu command list size when creating CiTraces.
This commit is contained in:
Sebastian Valle 2016-12-08 15:45:53 -05:00 committed by GitHub
commit 998390ac1a
1 changed files with 2 additions and 2 deletions

View File

@ -487,8 +487,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);