diff options
| author | 2017-02-12 12:33:26 -0800 | |
|---|---|---|
| committer | 2017-02-12 12:33:26 -0800 | |
| commit | 443bb3d522916f9be2d27fc8b3d7b5cc942213df (patch) | |
| tree | 5a83052ad2f5888a282d4db2ef9b9f2d4e647a60 /src/citra_qt/debugger/graphics | |
| parent | citra-qt: Don't attempt to scan files with unsupported extensions (#2402) (diff) | |
| parent | VideoCore: Split u64 Pica reg unions into 2 separate u32 unions (diff) | |
| download | yuzu-443bb3d522916f9be2d27fc8b3d7b5cc942213df.tar.gz yuzu-443bb3d522916f9be2d27fc8b3d7b5cc942213df.tar.xz yuzu-443bb3d522916f9be2d27fc8b3d7b5cc942213df.zip | |
Merge pull request #2550 from yuriks/pica-refactor2
Small VideoCore cleanups
Diffstat (limited to 'src/citra_qt/debugger/graphics')
| -rw-r--r-- | src/citra_qt/debugger/graphics/graphics_cmdlists.cpp | 2 | ||||
| -rw-r--r-- | src/citra_qt/debugger/graphics/graphics_surface.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics/graphics_cmdlists.cpp index 536548f36..c68fe753b 100644 --- a/src/citra_qt/debugger/graphics/graphics_cmdlists.cpp +++ b/src/citra_qt/debugger/graphics/graphics_cmdlists.cpp | |||
| @@ -72,7 +72,7 @@ QVariant GPUCommandListModel::data(const QModelIndex& index, int role) const { | |||
| 72 | if (role == Qt::DisplayRole) { | 72 | if (role == Qt::DisplayRole) { |
| 73 | switch (index.column()) { | 73 | switch (index.column()) { |
| 74 | case 0: | 74 | case 0: |
| 75 | return QString::fromLatin1(Pica::Regs::GetCommandName(write.cmd_id).c_str()); | 75 | return QString::fromLatin1(Pica::Regs::GetRegisterName(write.cmd_id)); |
| 76 | case 1: | 76 | case 1: |
| 77 | return QString("%1").arg(write.cmd_id, 3, 16, QLatin1Char('0')); | 77 | return QString("%1").arg(write.cmd_id, 3, 16, QLatin1Char('0')); |
| 78 | case 2: | 78 | case 2: |
diff --git a/src/citra_qt/debugger/graphics/graphics_surface.cpp b/src/citra_qt/debugger/graphics/graphics_surface.cpp index f83c1f96c..47d9924e1 100644 --- a/src/citra_qt/debugger/graphics/graphics_surface.cpp +++ b/src/citra_qt/debugger/graphics/graphics_surface.cpp | |||
| @@ -17,7 +17,8 @@ | |||
| 17 | #include "core/hw/gpu.h" | 17 | #include "core/hw/gpu.h" |
| 18 | #include "core/memory.h" | 18 | #include "core/memory.h" |
| 19 | #include "video_core/pica_state.h" | 19 | #include "video_core/pica_state.h" |
| 20 | #include "video_core/regs.h" | 20 | #include "video_core/regs_framebuffer.h" |
| 21 | #include "video_core/regs_texturing.h" | ||
| 21 | #include "video_core/texture/texture_decode.h" | 22 | #include "video_core/texture/texture_decode.h" |
| 22 | #include "video_core/utils.h" | 23 | #include "video_core/utils.h" |
| 23 | 24 | ||