aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorGravatar Tony Wasserka <NeoBrainX@gmail.com>2014-05-18 17:28:30 +0200
committerGravatar bunnei <ericbunnie@gmail.com>2014-06-12 06:10:51 -0400
commit5d62f5d92a53d4bbec20069984f5a5c7fa73524a (patch)
treeb56a18443bc213248f28b4d1a14eedc61f02352e /src/core/hle/service
parent50b2b73be4bc294856726e9a0f46fd16af355b0e (diff)
GPU debugger: Add functionality to inspect command lists.
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/gsp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/gsp.cpp b/src/core/hle/service/gsp.cpp
index 15e9d19a..aabcb48d 100644
--- a/src/core/hle/service/gsp.cpp
+++ b/src/core/hle/service/gsp.cpp
@@ -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: