Search
lxdream.org :: lxdream/src/dreamcast.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dreamcast.c
changeset 889:5baaea6d9722
prev839:51f1c4195790
next891:de9d08282160
author nkeynes
date Mon Oct 20 06:19:07 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Remove run button disabling, instead print an error when attempting to run in an unrunnable situation and stop.
file annotate diff log raw
1.1 --- a/src/dreamcast.c Tue Sep 02 03:34:00 2008 +0000
1.2 +++ b/src/dreamcast.c Mon Oct 20 06:19:07 2008 +0000
1.3 @@ -163,7 +163,12 @@
1.4 void dreamcast_run( void )
1.5 {
1.6 int i;
1.7 -
1.8 +
1.9 + if( !dreamcast_can_run() ) {
1.10 + ERROR(_("No program is loaded, and no BIOS is configured (required to boot a CD image). To continue, either load a binary program, or set the path to your BIOS file in the Path Preferences"));
1.11 + return;
1.12 + }
1.13 +
1.14 if( dreamcast_state != STATE_RUNNING ) {
1.15 for( i=0; i<num_modules; i++ ) {
1.16 if( modules[i]->start != NULL )
.