diff options
| author | 2015-08-19 05:51:12 -0300 | |
|---|---|---|
| committer | 2015-09-07 16:46:29 -0300 | |
| commit | c1beb2ce2041c078674fb0cacafbccb4196cc3bc (patch) | |
| tree | 89882ff65b6b7d465852e34d2c5673cfd16a9b1f /src/citra_qt/debugger/graphics_vertex_shader.cpp | |
| parent | Shader Debugger: Improve space efficiency of the layout (diff) | |
| download | yuzu-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.cpp | 10 |
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; | |||
| 27 | using nihstro::SourceRegister; | 27 | using nihstro::SourceRegister; |
| 28 | using nihstro::SwizzlePattern; | 28 | using nihstro::SwizzlePattern; |
| 29 | 29 | ||
| 30 | GraphicsVertexShaderModel::GraphicsVertexShaderModel(GraphicsVertexShaderWidget* parent): QAbstractItemModel(parent), par(parent) { | 30 | GraphicsVertexShaderModel::GraphicsVertexShaderModel(GraphicsVertexShaderWidget* parent): QAbstractTableModel(parent), par(parent) { |
| 31 | 31 | ||
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | QModelIndex GraphicsVertexShaderModel::index(int row, int column, const QModelIndex& parent) const { | ||
| 35 | return createIndex(row, column); | ||
| 36 | } | ||
| 37 | |||
| 38 | QModelIndex GraphicsVertexShaderModel::parent(const QModelIndex& child) const { | ||
| 39 | return QModelIndex(); | ||
| 40 | } | ||
| 41 | |||
| 42 | int GraphicsVertexShaderModel::columnCount(const QModelIndex& parent) const { | 34 | int GraphicsVertexShaderModel::columnCount(const QModelIndex& parent) const { |
| 43 | return 3; | 35 | return 3; |
| 44 | } | 36 | } |