diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-12 12:33:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-12 12:33:26 -0800 |
commit | 443bb3d522916f9be2d27fc8b3d7b5cc942213df (patch) | |
tree | 5a83052ad2f5888a282d4db2ef9b9f2d4e647a60 /src/citra_qt | |
parent | 30ff675f0284a2ed972fa6cc944e0a96c56d4dd6 (diff) | |
parent | 553e672777433c99afb0376b963aa5955e4c076f (diff) |
Merge pull request #2550 from yuriks/pica-refactor2
Small VideoCore cleanups
Diffstat (limited to 'src/citra_qt')
-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 { if (role == Qt::DisplayRole) { switch (index.column()) { case 0: - return QString::fromLatin1(Pica::Regs::GetCommandName(write.cmd_id).c_str()); + return QString::fromLatin1(Pica::Regs::GetRegisterName(write.cmd_id)); case 1: return QString("%1").arg(write.cmd_id, 3, 16, QLatin1Char('0')); 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 @@ #include "core/hw/gpu.h" #include "core/memory.h" #include "video_core/pica_state.h" -#include "video_core/regs.h" +#include "video_core/regs_framebuffer.h" +#include "video_core/regs_texturing.h" #include "video_core/texture/texture_decode.h" #include "video_core/utils.h" |