GPU: Make the debug_context variable a member of the frontend instead of a global.

This commit is contained in:
Subv
2018-03-24 23:35:06 -05:00
parent 2c785bd06c
commit 0ce52b1da2
7 changed files with 40 additions and 19 deletions

View File

@ -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;