diff options
| author | 2014-05-18 17:28:30 +0200 | |
|---|---|---|
| committer | 2014-06-12 06:10:51 -0400 | |
| commit | 5d62f5d92a53d4bbec20069984f5a5c7fa73524a (patch) | |
| tree | b56a18443bc213248f28b4d1a14eedc61f02352e /src/core | |
| parent | video core: added PICA definitions file. (diff) | |
| download | yuzu-5d62f5d92a53d4bbec20069984f5a5c7fa73524a.tar.gz yuzu-5d62f5d92a53d4bbec20069984f5a5c7fa73524a.tar.xz yuzu-5d62f5d92a53d4bbec20069984f5a5c7fa73524a.zip | |
GPU debugger: Add functionality to inspect command lists.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/gsp.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/gsp.cpp b/src/core/hle/service/gsp.cpp index 15e9d19a5..aabcb48db 100644 --- a/src/core/hle/service/gsp.cpp +++ b/src/core/hle/service/gsp.cpp | |||
| @@ -126,6 +126,10 @@ void TriggerCmdReqQueue(Service::Interface* self) { | |||
| 126 | GPU::Write<u32>(GPU::Registers::CommandListAddress, cmd_buff[1] >> 3); | 126 | GPU::Write<u32>(GPU::Registers::CommandListAddress, cmd_buff[1] >> 3); |
| 127 | GPU::Write<u32>(GPU::Registers::CommandListSize, cmd_buff[2] >> 3); | 127 | GPU::Write<u32>(GPU::Registers::CommandListSize, cmd_buff[2] >> 3); |
| 128 | GPU::Write<u32>(GPU::Registers::ProcessCommandList, 1); // TODO: Not sure if we are supposed to always write this | 128 | GPU::Write<u32>(GPU::Registers::ProcessCommandList, 1); // TODO: Not sure if we are supposed to always write this |
| 129 | |||
| 130 | // TODO: Move this to GPU | ||
| 131 | // TODO: Not sure what units the size is measured in | ||
| 132 | g_debugger.CommandListCalled(cmd_buff[1], (u32*)Memory::GetPointer(cmd_buff[1]), cmd_buff[2]); | ||
| 129 | break; | 133 | break; |
| 130 | 134 | ||
| 131 | case GXCommandId::SET_MEMORY_FILL: | 135 | case GXCommandId::SET_MEMORY_FILL: |