diff --git a/src/bios.cpp b/src/bios.cpp index 983cfe604..1c1d4cba3 100644 --- a/src/bios.cpp +++ b/src/bios.cpp @@ -984,7 +984,7 @@ TEMPLATE static u32 getCRC16() u32 datap = cpu->R[1]; u32 size = cpu->R[2]; - static u16 val[] = { 0xC0C1,0xC181,0xC301,0xC601,0xCC01,0xD801,0xF001,0xA001 }; + const u16 val[] = { 0xC0C1,0xC181,0xC301,0xC601,0xCC01,0xD801,0xF001,0xA001 }; for(i = 0; i < size; i++) { crc = crc ^ _MMU_read08(cpu->proc_ID, datap + i); diff --git a/src/gtk/main.cpp b/src/gtk/main.cpp index 5c29c94a5..f893960ba 100644 --- a/src/gtk/main.cpp +++ b/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);