diff options
author | Rohit Nirmal <rohitnirmal9@gmail.com> | 2014-12-12 18:21:58 +0100 |
---|---|---|
committer | Rohit Nirmal <rohitnirmal9@gmail.com> | 2015-01-01 23:38:36 +0100 |
commit | c589d820520663be438430ac4a443b34f7bb442c (patch) | |
tree | 14d9c76e3a6572eb15ccc9cf388e511f661daa32 /src/citra_qt/debugger/graphics_cmdlists.cpp | |
parent | Merge pull request #380 from Yllodra/graphics-debugger-save-state (diff) | |
download | yuzu-c589d820520663be438430ac4a443b34f7bb442c.tar yuzu-c589d820520663be438430ac4a443b34f7bb442c.tar.gz yuzu-c589d820520663be438430ac4a443b34f7bb442c.tar.bz2 yuzu-c589d820520663be438430ac4a443b34f7bb442c.tar.lz yuzu-c589d820520663be438430ac4a443b34f7bb442c.tar.xz yuzu-c589d820520663be438430ac4a443b34f7bb442c.tar.zst yuzu-c589d820520663be438430ac4a443b34f7bb442c.zip |
Diffstat (limited to 'src/citra_qt/debugger/graphics_cmdlists.cpp')
-rw-r--r-- | src/citra_qt/debugger/graphics_cmdlists.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cpp index 753cc25da..708b805a7 100644 --- a/src/citra_qt/debugger/graphics_cmdlists.cpp +++ b/src/citra_qt/debugger/graphics_cmdlists.cpp @@ -229,7 +229,7 @@ void GPUCommandListModel::OnPicaTraceFinished(const Pica::DebugUtils::PicaTrace& cmd_id < PICA_REG_INDEX(reg_name) + sizeof(decltype(Pica::registers.reg_name)) / 4) void GPUCommandListWidget::OnCommandDoubleClicked(const QModelIndex& index) { - const int command_id = list_widget->model()->data(index, GPUCommandListModel::CommandIdRole).toInt(); + const unsigned int command_id = list_widget->model()->data(index, GPUCommandListModel::CommandIdRole).toUInt(); if (COMMAND_IN_RANGE(command_id, texture0) || COMMAND_IN_RANGE(command_id, texture1) || COMMAND_IN_RANGE(command_id, texture2)) { @@ -255,7 +255,7 @@ void GPUCommandListWidget::OnCommandDoubleClicked(const QModelIndex& index) { void GPUCommandListWidget::SetCommandInfo(const QModelIndex& index) { QWidget* new_info_widget; - const int command_id = list_widget->model()->data(index, GPUCommandListModel::CommandIdRole).toInt(); + const unsigned int command_id = list_widget->model()->data(index, GPUCommandListModel::CommandIdRole).toUInt(); if (COMMAND_IN_RANGE(command_id, texture0) || COMMAND_IN_RANGE(command_id, texture1) || COMMAND_IN_RANGE(command_id, texture2)) { |