mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 15:50:00 -06:00
cleanup
This commit is contained in:
@ -776,9 +776,6 @@ void EmuThread::run()
|
|||||||
GPU::DeInitRenderer();
|
GPU::DeInitRenderer();
|
||||||
NDS::DeInit();
|
NDS::DeInit();
|
||||||
//Platform::LAN_DeInit();
|
//Platform::LAN_DeInit();
|
||||||
|
|
||||||
if (oglContext)
|
|
||||||
deinitOpenGL();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmuThread::changeWindowTitle(char* title)
|
void EmuThread::changeWindowTitle(char* title)
|
||||||
|
@ -48,9 +48,6 @@ class EmuThread : public QThread
|
|||||||
public:
|
public:
|
||||||
explicit EmuThread(QObject* parent = nullptr);
|
explicit EmuThread(QObject* parent = nullptr);
|
||||||
|
|
||||||
void initOpenGL();
|
|
||||||
void deinitOpenGL();
|
|
||||||
|
|
||||||
void changeWindowTitle(char* title);
|
void changeWindowTitle(char* title);
|
||||||
|
|
||||||
// to be called from the UI thread
|
// to be called from the UI thread
|
||||||
@ -91,6 +88,8 @@ signals:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void drawScreenGL();
|
void drawScreenGL();
|
||||||
|
void initOpenGL();
|
||||||
|
void deinitOpenGL();
|
||||||
|
|
||||||
std::atomic<int> EmuStatus;
|
std::atomic<int> EmuStatus;
|
||||||
int PrevEmuStatus;
|
int PrevEmuStatus;
|
||||||
|
Reference in New Issue
Block a user