diff options
| author | 2014-12-04 19:41:03 +0100 | |
|---|---|---|
| committer | 2014-12-09 16:37:34 +0100 | |
| commit | 0cd27a511ecd170484b672263c09192b579e31ac (patch) | |
| tree | dfa2dece82fcbcfe45708582a493ee0ff317ce82 /src/citra_qt/debugger/graphics_breakpoints.cpp | |
| parent | citra-qt: Add pica framebuffer widget. (diff) | |
| download | yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.gz yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.xz yuzu-0cd27a511ecd170484b672263c09192b579e31ac.zip | |
Some code cleanup.
Diffstat (limited to 'src/citra_qt/debugger/graphics_breakpoints.cpp')
| -rw-r--r-- | src/citra_qt/debugger/graphics_breakpoints.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics_breakpoints.cpp b/src/citra_qt/debugger/graphics_breakpoints.cpp index 2f41d5f77..db98a3b05 100644 --- a/src/citra_qt/debugger/graphics_breakpoints.cpp +++ b/src/citra_qt/debugger/graphics_breakpoints.cpp | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | #include <QLabel> | 9 | #include <QLabel> |
| 10 | 10 | ||
| 11 | #include "graphics_breakpoints.hxx" | 11 | #include "graphics_breakpoints.hxx" |
| 12 | #include "graphics_breakpoints_p.hxx" | ||
| 12 | 13 | ||
| 13 | BreakPointModel::BreakPointModel(std::shared_ptr<Pica::DebugContext> debug_context, QObject* parent) | 14 | BreakPointModel::BreakPointModel(std::shared_ptr<Pica::DebugContext> debug_context, QObject* parent) |
| 14 | : QAbstractListModel(parent), context_weak(debug_context), | 15 | : QAbstractListModel(parent), context_weak(debug_context), |
| @@ -39,7 +40,7 @@ QVariant BreakPointModel::data(const QModelIndex& index, int role) const | |||
| 39 | std::map<Pica::DebugContext::Event, QString> map; | 40 | std::map<Pica::DebugContext::Event, QString> map; |
| 40 | map.insert({Pica::DebugContext::Event::CommandLoaded, tr("Pica command loaded")}); | 41 | map.insert({Pica::DebugContext::Event::CommandLoaded, tr("Pica command loaded")}); |
| 41 | map.insert({Pica::DebugContext::Event::CommandProcessed, tr("Pica command processed")}); | 42 | map.insert({Pica::DebugContext::Event::CommandProcessed, tr("Pica command processed")}); |
| 42 | map.insert({Pica::DebugContext::Event::IncomingPrimitiveBatch, tr("Incomming primitive batch")}); | 43 | map.insert({Pica::DebugContext::Event::IncomingPrimitiveBatch, tr("Incoming primitive batch")}); |
| 43 | map.insert({Pica::DebugContext::Event::FinishedPrimitiveBatch, tr("Finished primitive batch")}); | 44 | map.insert({Pica::DebugContext::Event::FinishedPrimitiveBatch, tr("Finished primitive batch")}); |
| 44 | 45 | ||
| 45 | _dbg_assert_(GPU, map.size() == static_cast<size_t>(Pica::DebugContext::Event::NumEvents)); | 46 | _dbg_assert_(GPU, map.size() == static_cast<size_t>(Pica::DebugContext::Event::NumEvents)); |