mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
remove global emuThread from Window.cpp
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user