GPU debugger: Add functionality to inspect command lists.
This commit is contained in:
parent
50b2b73be4
commit
5d62f5d92a
2 changed files with 57 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue