Search
lxdream.org :: lxdream/src/main.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/main.c
changeset 671:a530ea88eebd
prev669:ab344e42bca9
next678:35eb00945316
author nkeynes
date Thu May 15 10:22:39 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Permanently add SH4 instruction statistics tracking (enabled with --enable-sh4stats)
file annotate diff log raw
1.1 --- a/src/main.c Mon May 12 10:00:13 2008 +0000
1.2 +++ b/src/main.c Thu May 15 10:22:39 2008 +0000
1.3 @@ -207,6 +207,7 @@
1.4 if( dreamcast_can_run() ) {
1.5 if( time_nanos != 0 || time_secs != 0 ) {
1.6 dreamcast_run_for(time_secs, time_nanos);
1.7 + dreamcast_shutdown();
1.8 return 0;
1.9 } else {
1.10 dreamcast_run();
1.11 @@ -218,6 +219,7 @@
1.12 if( !headless ) {
1.13 gui_main_loop();
1.14 }
1.15 + dreamcast_shutdown();
1.16 return 0;
1.17 }
1.18
.