private void RestartOptions()
{
StoredConfig.UseFastMemory = UtilsUseFastmemMenu.Checked;
StoredConfig.EnableAstOptimizations = UtilsAstOptimizationsMenu.Checked;
if (MessageBox.Show("This option requires restarting the emulator.\n\nDo you want to restart the emulator?", "Warning", MessageBoxButtons.YesNo) == DialogResult.Yes)
{
Application.Restart();
}
}