summaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra_qt/debugger/graphics.cpp')
-rw-r--r--src/citra_qt/debugger/graphics.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/citra_qt/debugger/graphics.cpp b/src/citra_qt/debugger/graphics.cpp
index ef6712bfa..ef337827a 100644
--- a/src/citra_qt/debugger/graphics.cpp
+++ b/src/citra_qt/debugger/graphics.cpp
@@ -22,15 +22,15 @@ QVariant GPUCommandStreamItemModel::data(const QModelIndex& index, int role) con
22 return QVariant(); 22 return QVariant();
23 23
24 int command_index = index.row(); 24 int command_index = index.row();
25 const GSP_GPU::Command& command = GetDebugger()->ReadGXCommandHistory(command_index); 25 const Service::GSP::Command& command = GetDebugger()->ReadGXCommandHistory(command_index);
26 if (role == Qt::DisplayRole) { 26 if (role == Qt::DisplayRole) {
27 std::map<GSP_GPU::CommandId, const char*> command_names = { 27 std::map<Service::GSP::CommandId, const char*> command_names = {
28 {GSP_GPU::CommandId::REQUEST_DMA, "REQUEST_DMA"}, 28 {Service::GSP::CommandId::REQUEST_DMA, "REQUEST_DMA"},
29 {GSP_GPU::CommandId::SUBMIT_GPU_CMDLIST, "SUBMIT_GPU_CMDLIST"}, 29 {Service::GSP::CommandId::SUBMIT_GPU_CMDLIST, "SUBMIT_GPU_CMDLIST"},
30 {GSP_GPU::CommandId::SET_MEMORY_FILL, "SET_MEMORY_FILL"}, 30 {Service::GSP::CommandId::SET_MEMORY_FILL, "SET_MEMORY_FILL"},
31 {GSP_GPU::CommandId::SET_DISPLAY_TRANSFER, "SET_DISPLAY_TRANSFER"}, 31 {Service::GSP::CommandId::SET_DISPLAY_TRANSFER, "SET_DISPLAY_TRANSFER"},
32 {GSP_GPU::CommandId::SET_TEXTURE_COPY, "SET_TEXTURE_COPY"}, 32 {Service::GSP::CommandId::SET_TEXTURE_COPY, "SET_TEXTURE_COPY"},
33 {GSP_GPU::CommandId::CACHE_FLUSH, "CACHE_FLUSH"}, 33 {Service::GSP::CommandId::CACHE_FLUSH, "CACHE_FLUSH"},
34 }; 34 };
35 const u32* command_data = reinterpret_cast<const u32*>(&command); 35 const u32* command_data = reinterpret_cast<const u32*>(&command);
36 QString str = QString("%1 %2 %3 %4 %5 %6 %7 %8 %9") 36 QString str = QString("%1 %2 %3 %4 %5 %6 %7 %8 %9")