mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-07-05 09:47:53 -05:00
Fix EmuThread loop by ensuring it exits properly.
Note: There is a pre-existing issue with booting a new game in that it keeps the old EmuThread. The GL code now supports this but the Core still doesn't.
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
#include <QMutex>
|
||||
#include <QThread>
|
||||
#include <QGLWidget>
|
||||
#include "common/common.h"
|
||||
@ -66,6 +67,8 @@ private:
|
||||
|
||||
bool exec_cpu_step;
|
||||
bool cpu_running;
|
||||
bool stop_run;
|
||||
QMutex mutex;
|
||||
|
||||
GRenderWindow* render_window;
|
||||
|
||||
@ -105,7 +108,7 @@ public:
|
||||
void keyPressEvent(QKeyEvent* event);
|
||||
void keyReleaseEvent(QKeyEvent* event);
|
||||
|
||||
private slots:
|
||||
public slots:
|
||||
void moveContext();
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user