summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/graphics.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-07-23 05:26:28 +0200
committerbunnei <bunneidev@gmail.com>2014-08-06 05:58:00 +0200
commit4e9f305ed214ef0fbffd83042c86f41cd233ec3b (patch)
tree51787c34f01a244d28ee3b41bdbfc0b93c38bbff /src/citra_qt/debugger/graphics.cpp
parentGSP: Removed unnecessary GX_FinishCommand function. (diff)
downloadyuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.gz
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.bz2
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.lz
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.xz
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.zst
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.zip
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 0f911a015..a86a55404 100644
--- a/src/citra_qt/debugger/graphics.cpp
+++ b/src/citra_qt/debugger/graphics.cpp
@@ -25,16 +25,16 @@ QVariant GPUCommandStreamItemModel::data(const QModelIndex& index, int role) con
return QVariant();
int command_index = index.row();
- const GSP_GPU::GXCommand& command = GetDebugger()->ReadGXCommandHistory(command_index);
+ const GSP_GPU::Command& command = GetDebugger()->ReadGXCommandHistory(command_index);
if (role == Qt::DisplayRole)
{
- std::map<GSP_GPU::GXCommandId, const char*> command_names = {
- { GSP_GPU::GXCommandId::REQUEST_DMA, "REQUEST_DMA" },
- { GSP_GPU::GXCommandId::SET_COMMAND_LIST_FIRST, "SET_COMMAND_LIST_FIRST" },
- { GSP_GPU::GXCommandId::SET_MEMORY_FILL, "SET_MEMORY_FILL" },
- { GSP_GPU::GXCommandId::SET_DISPLAY_TRANSFER, "SET_DISPLAY_TRANSFER" },
- { GSP_GPU::GXCommandId::SET_TEXTURE_COPY, "SET_TEXTURE_COPY" },
- { GSP_GPU::GXCommandId::SET_COMMAND_LIST_LAST, "SET_COMMAND_LIST_LAST" }
+ std::map<GSP_GPU::CommandId, const char*> command_names = {
+ { GSP_GPU::CommandId::REQUEST_DMA, "REQUEST_DMA" },
+ { GSP_GPU::CommandId::SET_COMMAND_LIST_FIRST, "SET_COMMAND_LIST_FIRST" },
+ { GSP_GPU::CommandId::SET_MEMORY_FILL, "SET_MEMORY_FILL" },
+ { GSP_GPU::CommandId::SET_DISPLAY_TRANSFER, "SET_DISPLAY_TRANSFER" },
+ { GSP_GPU::CommandId::SET_TEXTURE_COPY, "SET_TEXTURE_COPY" },
+ { GSP_GPU::CommandId::SET_COMMAND_LIST_LAST, "SET_COMMAND_LIST_LAST" }
};
const u32* command_data = reinterpret_cast<const u32*>(&command);
QString str = QString("%1 %2 %3 %4 %5 %6 %7 %8 %9").arg(command_names[command.id])