summaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/graphics.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-09-14 17:00:45 -0300
committerGravatar Yuri Kunde Schlesner2015-09-14 17:00:45 -0300
commitb3af7aad9e37ee49feb9ff4e34ed4314f7ed644b (patch)
treeac792d257440cf78d0c0bdf2e515da5fc4943bff /src/citra_qt/debugger/graphics.cpp
parentMerge pull request #1111 from LittleWhite-tb/qt-close-renderwindow (diff)
parentGSP: Implement command 0x05, used for flushing caches (diff)
downloadyuzu-b3af7aad9e37ee49feb9ff4e34ed4314f7ed644b.tar.gz
yuzu-b3af7aad9e37ee49feb9ff4e34ed4314f7ed644b.tar.xz
yuzu-b3af7aad9e37ee49feb9ff4e34ed4314f7ed644b.zip
Merge pull request #1123 from yuriks/gsp-flush
GSP: Implement command 0x05, used for flushing caches
Diffstat (limited to 'src/citra_qt/debugger/graphics.cpp')
-rw-r--r--src/citra_qt/debugger/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics.cpp b/src/citra_qt/debugger/graphics.cpp
index 8008f914c..eccd619ba 100644
--- a/src/citra_qt/debugger/graphics.cpp
+++ b/src/citra_qt/debugger/graphics.cpp
@@ -30,11 +30,11 @@ QVariant GPUCommandStreamItemModel::data(const QModelIndex& index, int role) con
30 { 30 {
31 std::map<GSP_GPU::CommandId, const char*> command_names = { 31 std::map<GSP_GPU::CommandId, const char*> command_names = {
32 { GSP_GPU::CommandId::REQUEST_DMA, "REQUEST_DMA" }, 32 { GSP_GPU::CommandId::REQUEST_DMA, "REQUEST_DMA" },
33 { GSP_GPU::CommandId::SET_COMMAND_LIST_FIRST, "SET_COMMAND_LIST_FIRST" }, 33 { GSP_GPU::CommandId::SUBMIT_GPU_CMDLIST, "SUBMIT_GPU_CMDLIST" },
34 { GSP_GPU::CommandId::SET_MEMORY_FILL, "SET_MEMORY_FILL" }, 34 { GSP_GPU::CommandId::SET_MEMORY_FILL, "SET_MEMORY_FILL" },
35 { GSP_GPU::CommandId::SET_DISPLAY_TRANSFER, "SET_DISPLAY_TRANSFER" }, 35 { GSP_GPU::CommandId::SET_DISPLAY_TRANSFER, "SET_DISPLAY_TRANSFER" },
36 { GSP_GPU::CommandId::SET_TEXTURE_COPY, "SET_TEXTURE_COPY" }, 36 { GSP_GPU::CommandId::SET_TEXTURE_COPY, "SET_TEXTURE_COPY" },
37 { GSP_GPU::CommandId::SET_COMMAND_LIST_LAST, "SET_COMMAND_LIST_LAST" } 37 { GSP_GPU::CommandId::CACHE_FLUSH, "CACHE_FLUSH" },
38 }; 38 };
39 const u32* command_data = reinterpret_cast<const u32*>(&command); 39 const u32* command_data = reinterpret_cast<const u32*>(&command);
40 QString str = QString("%1 %2 %3 %4 %5 %6 %7 %8 %9").arg(command_names[command.id]) 40 QString str = QString("%1 %2 %3 %4 %5 %6 %7 %8 %9").arg(command_names[command.id])