diff --git a/gtk/src/gtk_s9x.cpp b/gtk/src/gtk_s9x.cpp index 7fd432b0..2513b1a1 100644 --- a/gtk/src/gtk_s9x.cpp +++ b/gtk/src/gtk_s9x.cpp @@ -86,10 +86,11 @@ int main(int argc, char *argv[]) top_level->window->fullscreen(); top_level->show(); - Gtk::Main::iteration(false); - S9xPortSoundInit(); + S9xInitDisplay(argc, argv); + S9xPortSoundInit(); + for (int port = 0; port < 2; port++) { enum controllers type;