GPU: Fixed bug in command list size decoding.

This commit is contained in:
bunnei 2014-12-03 01:05:16 -05:00
parent a1f9cde806
commit 170123982d
4 changed files with 5 additions and 5 deletions

View file

@ -154,8 +154,7 @@ inline void Write(u32 addr, const T data) {
if (config.trigger & 1)
{
u32* buffer = (u32*)Memory::GetPointer(Memory::PhysicalToVirtualAddress(config.GetPhysicalAddress()));
u32 size = config.size << 3;
Pica::CommandProcessor::ProcessCommandList(buffer, size);
Pica::CommandProcessor::ProcessCommandList(buffer, config.size);
}
break;
}