hey look, more shit

This commit is contained in:
Arisotura
2024-05-18 11:45:31 +02:00
parent 10380320c5
commit 2fc1ae780b
12 changed files with 107 additions and 322 deletions

View File

@ -66,7 +66,7 @@ EmuInstance::EmuInstance(int inst) : instanceID(inst),
globalCfg(Config::GetGlobalTable()),
localCfg(Config::GetLocalTable(inst))
{
emuThread = new EmuThread();
emuThread = new EmuThread(this);
numWindows = 0;
mainWindow = nullptr;
@ -109,7 +109,7 @@ void EmuInstance::createWindow()
if (id == -1)
return;
MainWindow* win = new MainWindow(topWindow);
MainWindow* win = new MainWindow(this, topWindow);
if (!topWindow) topWindow = win;
if (!mainWindow) mainWindow = win;
windowList[id] = win;