Enable reset at launch time and not on rom file open. This way it will work even when the rom is passed as argument.

This commit is contained in:
riccardom 2009-02-02 21:13:15 +00:00
parent 2c0656a786
commit 361220ce5d
1 changed files with 1 additions and 1 deletions

View File

@ -396,6 +396,7 @@ static void Launch()
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "pause"), TRUE);
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "run"), FALSE);
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "reset"), TRUE);
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "printscreen"), TRUE);
}
@ -468,7 +469,6 @@ static void Open_Select(GtkWidget* widget, gpointer data)
gtk_widget_destroy(pDialog);
} else {
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "run"), TRUE);
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "reset"), TRUE);
}
//Launch(NULL, pWindow);