Basic Bot: check for Allow U+D/L+R before starting

This commit is contained in:
alyosha-tas 2021-07-02 09:10:07 -04:00
parent 197e5259c3
commit 3c26d9eec1
1 changed files with 8 additions and 0 deletions

View File

@ -125,6 +125,14 @@ namespace BizHawk.Client.EmuHawk
return;
}
if (!Config.AllowUdlr)
{
DialogController.ShowMessageBox("In order to use this tool, 'Allow U+D / L+R' must be checked in the controller menu.");
Close();
DialogResult = DialogResult.Cancel;
return;
}
_previousInvisibleEmulation = InvisibleEmulationCheckBox.Checked = Settings.InvisibleEmulation;
_previousDisplayMessage = Config.DisplayMessages;
}