GPU debugger: Add functionality to inspect command lists.

This commit is contained in:
Tony Wasserka 2014-05-18 17:28:30 +02:00 committed by bunnei
parent 50b2b73be4
commit 5d62f5d92a
2 changed files with 57 additions and 1 deletions

View file

@ -126,6 +126,10 @@ void TriggerCmdReqQueue(Service::Interface* self) {
GPU::Write<u32>(GPU::Registers::CommandListAddress, cmd_buff[1] >> 3);
GPU::Write<u32>(GPU::Registers::CommandListSize, cmd_buff[2] >> 3);
GPU::Write<u32>(GPU::Registers::ProcessCommandList, 1); // TODO: Not sure if we are supposed to always write this
// TODO: Move this to GPU
// TODO: Not sure what units the size is measured in
g_debugger.CommandListCalled(cmd_buff[1], (u32*)Memory::GetPointer(cmd_buff[1]), cmd_buff[2]);
break;
case GXCommandId::SET_MEMORY_FILL: