Gtk: Reorder init.

This should give the window time to create, and we ensure Gtk
has a main loop iteration so it's done.
This commit is contained in:
BearOso 2020-11-04 12:10:30 -06:00
parent c4a269b32a
commit a9a9b0fafb
1 changed files with 2 additions and 3 deletions

View File

@ -86,10 +86,9 @@ int main(int argc, char *argv[])
top_level->window->fullscreen();
top_level->show();
S9xInitDisplay(argc, argv);
Gtk::Main::iteration(false);
S9xPortSoundInit();
S9xInitDisplay(argc, argv);
for (int port = 0; port < 2; port++)
{