summaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/graphics_vertex_shader.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-08-19 05:51:12 -0300
committerGravatar Yuri Kunde Schlesner2015-09-07 16:46:29 -0300
commitc1beb2ce2041c078674fb0cacafbccb4196cc3bc (patch)
tree89882ff65b6b7d465852e34d2c5673cfd16a9b1f /src/citra_qt/debugger/graphics_vertex_shader.cpp
parentShader Debugger: Improve space efficiency of the layout (diff)
downloadyuzu-c1beb2ce2041c078674fb0cacafbccb4196cc3bc.tar.gz
yuzu-c1beb2ce2041c078674fb0cacafbccb4196cc3bc.tar.xz
yuzu-c1beb2ce2041c078674fb0cacafbccb4196cc3bc.zip
Shader Debugger: Fix freeze when double-clicking shader disassembly
Diffstat (limited to 'src/citra_qt/debugger/graphics_vertex_shader.cpp')
-rw-r--r--src/citra_qt/debugger/graphics_vertex_shader.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics_vertex_shader.cpp
index 32c48cb6e..a94538874 100644
--- a/src/citra_qt/debugger/graphics_vertex_shader.cpp
+++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp
@@ -27,18 +27,10 @@ using nihstro::Instruction;
27using nihstro::SourceRegister; 27using nihstro::SourceRegister;
28using nihstro::SwizzlePattern; 28using nihstro::SwizzlePattern;
29 29
30GraphicsVertexShaderModel::GraphicsVertexShaderModel(GraphicsVertexShaderWidget* parent): QAbstractItemModel(parent), par(parent) { 30GraphicsVertexShaderModel::GraphicsVertexShaderModel(GraphicsVertexShaderWidget* parent): QAbstractTableModel(parent), par(parent) {
31 31
32} 32}
33 33
34QModelIndex GraphicsVertexShaderModel::index(int row, int column, const QModelIndex& parent) const {
35 return createIndex(row, column);
36}
37
38QModelIndex GraphicsVertexShaderModel::parent(const QModelIndex& child) const {
39 return QModelIndex();
40}
41
42int GraphicsVertexShaderModel::columnCount(const QModelIndex& parent) const { 34int GraphicsVertexShaderModel::columnCount(const QModelIndex& parent) const {
43 return 3; 35 return 3;
44} 36}