summaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/graphics.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2016-12-10 07:51:50 -0500
committerGravatar linkmauve2016-12-11 00:07:27 +0000
commit963aedd8ccc207d5b65b97bd46b930771f2bda6e (patch)
treeab238398e6f8a37e4cd105d19dcec54f82ec1bb2 /src/citra_qt/debugger/graphics.cpp
parentconfigure_input: Modernize and cleanup input configuration tab (diff)
downloadyuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.gz
yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.xz
yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.zip
Add all services to the Service namespace
Previously there was a split where some of the services were in the Service namespace and others were not.
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")