filename | src/main.c |
changeset | 1116:09a69dfc7931 |
prev | 1111:742c073f353f |
next | 1125:9dd5dee45db9 |
author | nkeynes |
date | Sat Sep 11 09:58:22 2010 +1000 (13 years ago) |
permissions | -rw-r--r-- |
last change | GTK: Force file extension when creating files |
file | annotate | diff | log | raw |
1.1 --- a/src/main.c Tue Jul 13 16:26:49 2010 +10001.2 +++ b/src/main.c Sat Sep 11 09:58:22 2010 +10001.3 @@ -284,8 +284,10 @@1.4 ERROR( "Multiple GD-ROM discs given on command-line, ignoring %s", argv[optind] );1.5 } else {1.6 have_disc = gdrom_mount_image(argv[optind], &err);1.7 - if( !have_disc )1.8 + if( !have_disc ) {1.9 + ERROR( err.msg );1.10 no_start = TRUE;1.11 + }1.12 }1.13 }1.14 }1.15 @@ -296,8 +298,10 @@1.16 ERROR( "Both a save state and an executable were specified, ignoring %s", exec_name );1.17 } else {1.18 have_exec = file_load_exec( exec_name, &err );1.19 - if( !have_exec )1.20 + if( !have_exec ) {1.21 + ERROR( err.msg );1.22 no_start = TRUE;1.23 + }1.24 }1.25 }
.