Search
lxdream.org :: lxdream/src/gtkui/gtkui.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/gtkui.c
changeset 681:1755a126b109
prev678:35eb00945316
next682:1ddb41179083
author nkeynes
date Sun Jun 01 00:47:45 2008 +0000 (14 years ago)
permissions -rw-r--r--
last change First cut of the Cocoa GUI implementation
file annotate diff log raw
1.1 --- a/src/gtkui/gtkui.c Thu May 29 11:00:26 2008 +0000
1.2 +++ b/src/gtkui/gtkui.c Sun Jun 01 00:47:45 2008 +0000
1.3 @@ -240,10 +240,14 @@
1.4 }
1.5 }
1.6
1.7 -void gui_main_loop(void)
1.8 +void gui_main_loop( gboolean run )
1.9 {
1.10 gtk_gui_update();
1.11 - gtk_main();
1.12 + if( run ) {
1.13 + dreamcast_run();
1.14 + } else {
1.15 + gtk_main();
1.16 + }
1.17 }
1.18
1.19 void gui_update_state(void)
.