summaryrefslogtreecommitdiff
path: root/src/yuzu/main.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-03-24 23:35:06 -0500
committerSubv <subv2112@gmail.com>2018-03-24 23:35:06 -0500
commit0ce52b1da2228f3325d94e52bead7335c8b07d1c (patch)
treedb027be43dcb9fecb99fc7f8e698d3affd7e28c2 /src/yuzu/main.h
parent2c785bd06c8f979fbb869d533204b29d93973d83 (diff)
GPU: Make the debug_context variable a member of the frontend instead of a global.
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r--src/yuzu/main.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h
index 0f89607c8..2471caf83 100644
--- a/src/yuzu/main.h
+++ b/src/yuzu/main.h
@@ -23,6 +23,10 @@ class ProfilerWidget;
class RegistersWidget;
class WaitTreeWidget;
+namespace Tegra {
+class DebugContext;
+}
+
class GMainWindow : public QMainWindow {
Q_OBJECT
@@ -135,6 +139,8 @@ private:
Ui::MainWindow ui;
+ std::shared_ptr<Tegra::DebugContext> debug_context;
+
GRenderWindow* render_window;
GameList* game_list;