mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-29 00:59:56 -06:00
correctly propagate video settings changes to all windows
This commit is contained in:
@ -241,12 +241,12 @@ void EmuInstance::deleteAllWindows()
|
||||
}
|
||||
|
||||
|
||||
void EmuInstance::broadcastCommand(int cmd)
|
||||
void EmuInstance::broadcastCommand(int cmd, QVariant param)
|
||||
{
|
||||
broadcastInstanceCommand(cmd, instanceID);
|
||||
broadcastInstanceCommand(cmd, param, instanceID);
|
||||
}
|
||||
|
||||
void EmuInstance::handleCommand(int cmd)
|
||||
void EmuInstance::handleCommand(int cmd, QVariant& param)
|
||||
{
|
||||
switch (cmd)
|
||||
{
|
||||
@ -265,6 +265,10 @@ void EmuInstance::handleCommand(int cmd)
|
||||
windowList[i]->loadRecentFilesMenu(true);
|
||||
}
|
||||
break;
|
||||
|
||||
/*case InstCmd_UpdateVideoSettings:
|
||||
mainWindow->updateVideoSettings(param.value<bool>());
|
||||
break;*/
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user