From 5e8af885e10ac9074585a5665fbfeb1edb1bd6ad Mon Sep 17 00:00:00 2001 From: riccardom Date: Mon, 28 Dec 2009 11:20:15 +0000 Subject: [PATCH] Remove some commented code and fixup a comment indentation while at it. --- desmume/src/gtk/main.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/desmume/src/gtk/main.cpp b/desmume/src/gtk/main.cpp index c76a908eb..5eb28e16b 100644 --- a/desmume/src/gtk/main.cpp +++ b/desmume/src/gtk/main.cpp @@ -957,8 +957,6 @@ static void OpenNdsDialog() gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "run"), TRUE); } - //Launch(NULL, pWindow); - g_free(sPath); break; default: @@ -1885,8 +1883,8 @@ common_gtk_main( struct configured_features *my_config) } #endif - /* FIXME: SDL_INIT_VIDEO is needed for joystick support to work!? - Perhaps it needs a "window" to catch events...? */ + /* FIXME: SDL_INIT_VIDEO is needed for joystick support to work!? + * Perhaps it needs a "window" to catch events...? */ if(SDL_Init(SDL_INIT_TIMER|SDL_INIT_VIDEO) == -1) { g_printerr("Error trying to initialize SDL: %s\n", SDL_GetError()); @@ -2080,10 +2078,6 @@ common_gtk_main( struct configured_features *my_config) #endif /* Main loop */ - -// gtk_idle_add(&EmuLoop, pWindow); -// g_idle_add(&EmuLoop, pWindow); - gtk_main(); desmume_free();