mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 23:29:55 -06:00
remove global emuThread from Window.cpp
This commit is contained in:
@ -85,7 +85,7 @@ using namespace melonDS;
|
||||
|
||||
// TEMP
|
||||
extern MainWindow* mainWindow;
|
||||
extern EmuThread* emuThread;
|
||||
//extern EmuThread* emuThread;
|
||||
extern bool RunningSomething;
|
||||
extern QString NdsRomMimeType;
|
||||
extern QStringList NdsRomExtensions;
|
||||
@ -685,6 +685,11 @@ MainWindow::~MainWindow()
|
||||
delete[] actScreenAspectBot;
|
||||
}
|
||||
|
||||
void MainWindow::attachEmuThread(EmuThread* thread)
|
||||
{
|
||||
emuThread = thread;
|
||||
}
|
||||
|
||||
void MainWindow::osdAddMessage(unsigned int color, const char* fmt, ...)
|
||||
{
|
||||
if (fmt == nullptr)
|
||||
|
Reference in New Issue
Block a user