Description: Resume when pressing on start when in pause mode
 When the program is paused and user presses start it will try to restart the
 program without actual resetting it correctly. As result it will just not
 behave as expected. When it is paused it should continue instead.
Bug: http://code.google.com/p/mupen64plus/issues/detail?id=282
Author: Sven Eckelmann <sven.eckelmann@gmx.de>

---
diff --git a/main/gui_gtk/main_gtk.c b/main/gui_gtk/main_gtk.c
index 41d382ebd2650dd48f5b93bf788ee32fca26e807..66f6777069564031e560b9194123038194f36f9a 100644
--- a/main/gui_gtk/main_gtk.c
+++ b/main/gui_gtk/main_gtk.c
@@ -499,7 +499,10 @@ static void callback_start_emulation(GtkWidget* widget, gpointer data)
         }
 
     gdk_threads_leave();
-    startEmulation();
+    if(g_EmulatorRunning)
+        pauseContinueEmulation();
+    else
+        startEmulation();
 }
 
 static void callback_pause_emulation(GtkWidget* widget, gpointer data)
