remove global emuThread from Window.cpp

This commit is contained in:
Arisotura
2024-02-20 13:29:21 +01:00
parent a7a7ac53c1
commit 6a2039aee1
3 changed files with 12 additions and 1 deletions

View File

@ -103,6 +103,8 @@ public:
explicit MainWindow(QWidget* parent = nullptr);
~MainWindow();
void attachEmuThread(EmuThread* thread);
bool hasOpenGL() { return hasOGL; }
GL::Context* getOGLContext();
void initOpenGL();
@ -234,6 +236,8 @@ private:
int test_num;
EmuThread* emuThread;
public:
ScreenPanel* panel;