From 361220ce5d44b7a2c2535f7901950e2abbafea37 Mon Sep 17 00:00:00 2001 From: riccardom Date: Mon, 2 Feb 2009 21:13:15 +0000 Subject: [PATCH] Enable reset at launch time and not on rom file open. This way it will work even when the rom is passed as argument. --- desmume/src/gtk/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/gtk/main.cpp b/desmume/src/gtk/main.cpp index 5c29c94a5..f893960ba 100644 --- a/desmume/src/gtk/main.cpp +++ b/desmume/src/gtk/main.cpp @@ -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);