diff options
| author | 2014-12-04 20:41:01 +0100 | |
|---|---|---|
| committer | 2014-12-09 16:37:34 +0100 | |
| commit | 79bb403089ff91c24b8356ad8d5bc5f7666a0d11 (patch) | |
| tree | 83907606411e146ec64434438345d093bee696ca /src/citra_qt/debugger | |
| parent | Some code cleanup. (diff) | |
| download | yuzu-79bb403089ff91c24b8356ad8d5bc5f7666a0d11.tar.gz yuzu-79bb403089ff91c24b8356ad8d5bc5f7666a0d11.tar.xz yuzu-79bb403089ff91c24b8356ad8d5bc5f7666a0d11.zip | |
More coding style fixes.
Diffstat (limited to 'src/citra_qt/debugger')
| -rw-r--r-- | src/citra_qt/debugger/graphics_breakpoints.cpp | 2 | ||||
| -rw-r--r-- | src/citra_qt/debugger/graphics_framebuffer.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics_breakpoints.cpp b/src/citra_qt/debugger/graphics_breakpoints.cpp index db98a3b05..5973aafc8 100644 --- a/src/citra_qt/debugger/graphics_breakpoints.cpp +++ b/src/citra_qt/debugger/graphics_breakpoints.cpp | |||
| @@ -43,7 +43,7 @@ QVariant BreakPointModel::data(const QModelIndex& index, int role) const | |||
| 43 | map.insert({Pica::DebugContext::Event::IncomingPrimitiveBatch, tr("Incoming primitive batch")}); | 43 | map.insert({Pica::DebugContext::Event::IncomingPrimitiveBatch, tr("Incoming primitive batch")}); |
| 44 | map.insert({Pica::DebugContext::Event::FinishedPrimitiveBatch, tr("Finished primitive batch")}); | 44 | map.insert({Pica::DebugContext::Event::FinishedPrimitiveBatch, tr("Finished primitive batch")}); |
| 45 | 45 | ||
| 46 | _dbg_assert_(GPU, map.size() == static_cast<size_t>(Pica::DebugContext::Event::NumEvents)); | 46 | _dbg_assert_(GUI, map.size() == static_cast<size_t>(Pica::DebugContext::Event::NumEvents)); |
| 47 | 47 | ||
| 48 | return map[event]; | 48 | return map[event]; |
| 49 | } else if (index.column() == 1) { | 49 | } else if (index.column() == 1) { |
diff --git a/src/citra_qt/debugger/graphics_framebuffer.hxx b/src/citra_qt/debugger/graphics_framebuffer.hxx index bb73b2f72..1151ee7a1 100644 --- a/src/citra_qt/debugger/graphics_framebuffer.hxx +++ b/src/citra_qt/debugger/graphics_framebuffer.hxx | |||
| @@ -15,7 +15,7 @@ class QSpinBox; | |||
| 15 | class CSpinBox; | 15 | class CSpinBox; |
| 16 | 16 | ||
| 17 | // Utility class which forwards calls to OnPicaBreakPointHit and OnPicaResume to public slots. | 17 | // Utility class which forwards calls to OnPicaBreakPointHit and OnPicaResume to public slots. |
| 18 | // This is because the Pica breakpoint callbacks will called on a non-GUI thread, while | 18 | // This is because the Pica breakpoint callbacks are called from a non-GUI thread, while |
| 19 | // the widget usually wants to perform reactions in the GUI thread. | 19 | // the widget usually wants to perform reactions in the GUI thread. |
| 20 | class BreakPointObserverDock : public QDockWidget, Pica::DebugContext::BreakPointObserver { | 20 | class BreakPointObserverDock : public QDockWidget, Pica::DebugContext::BreakPointObserver { |
| 21 | Q_OBJECT | 21 | Q_OBJECT |