Search
lxdream.org :: lxdream/src/main.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/main.c
changeset 681:1755a126b109
prev678:35eb00945316
next689:9868667e3525
author nkeynes
date Sun Jun 01 00:47:45 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change First cut of the Cocoa GUI implementation
file annotate diff log raw
1.1 --- a/src/main.c Thu May 29 11:00:26 2008 +0000
1.2 +++ b/src/main.c Sun Jun 01 00:47:45 2008 +0000
1.3 @@ -204,6 +204,7 @@
1.4
1.5 sh4_set_use_xlat( use_xlat );
1.6
1.7 + /*
1.8 if( start_immediately ) {
1.9 if( dreamcast_can_run() ) {
1.10 if( time_nanos != 0 || time_secs != 0 ) {
1.11 @@ -217,8 +218,9 @@
1.12 ERROR( "Unable to start dreamcast: no program/bios loaded" );
1.13 }
1.14 }
1.15 + */
1.16 if( !headless ) {
1.17 - gui_main_loop();
1.18 + gui_main_loop( start_immediately && dreamcast_can_run() );
1.19 }
1.20 dreamcast_shutdown();
1.21 return 0;
.