mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-02 12:00:01 -06:00
fix up cheat toggle
This commit is contained in:
@ -1655,7 +1655,12 @@ void MainWindow::onOpenPowerManagement()
|
||||
void MainWindow::onEnableCheats(bool checked)
|
||||
{
|
||||
localCfg.SetBool("EnableCheats", checked);
|
||||
emuInstance->enableCheats(checked);
|
||||
emuThread->enableCheats(checked);
|
||||
|
||||
emuInstance->doOnAllWindows([=](MainWindow* win)
|
||||
{
|
||||
win->actEnableCheats->setChecked(checked);
|
||||
}, windowID);
|
||||
}
|
||||
|
||||
void MainWindow::onSetupCheats()
|
||||
|
Reference in New Issue
Block a user