mirror of https://github.com/snes9xgit/snes9x.git
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:
parent
c4a269b32a
commit
a9a9b0fafb
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue