From 762c1a9ff5406afc4c6b1a3eb74dae2dc2fb0daf Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 16 Apr 2015 18:35:09 -0400 Subject: Qt: Move EmuThread ownership from render window to main window. --- src/citra_qt/main.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/citra_qt/main.h') diff --git a/src/citra_qt/main.h b/src/citra_qt/main.h index 9b57c5772..5b33ea962 100644 --- a/src/citra_qt/main.h +++ b/src/citra_qt/main.h @@ -11,6 +11,7 @@ class GImageInfo; class GRenderWindow; +class EmuThread; class ProfilerWidget; class DisassemblerWidget; class RegistersWidget; @@ -34,6 +35,10 @@ public: GMainWindow(); ~GMainWindow(); + EmuThread* GetEmuThread() { + return emu_thread; + } + private: void BootGame(std::string filename); @@ -54,6 +59,7 @@ private: Ui::MainWindow ui; GRenderWindow* render_window; + EmuThread* emu_thread; ProfilerWidget* profilerWidget; DisassemblerWidget* disasmWidget; -- cgit v1.2.3