Search
lxdream.org :: lxdream/src/main.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/main.c
changeset 209:ff67a7b9aa17
prev182:e3b513538548
next370:3131ba1440fc
author nkeynes
date Mon Aug 07 13:18:16 2006 +0000 (17 years ago)
permissions -rw-r--r--
last change Implement open/close dcload syscalls, change permission flag to "unsafe"
file annotate diff log raw
1.1 --- a/src/main.c Thu Jul 06 08:47:33 2006 +0000
1.2 +++ b/src/main.c Mon Aug 07 13:18:16 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: main.c,v 1.19 2006-07-06 08:47:33 nkeynes Exp $
1.6 + * $Id: main.c,v 1.20 2006-08-07 13:18:16 nkeynes Exp $
1.7 *
1.8 * Main program, initializes dreamcast and gui, then passes control off to
1.9 * the gtk main loop (currently).
1.10 @@ -35,7 +35,7 @@
1.11
1.12 #define S3M_PLAYER "s3mplay.bin"
1.13
1.14 -char *option_list = "a:s:A:V:pqhbd:c:";
1.15 +char *option_list = "a:s:A:V:puhbd:c:";
1.16 struct option longopts[1] = { { NULL, 0, 0, 0 } };
1.17 char *aica_program = NULL;
1.18 char *s3m_file = NULL;
1.19 @@ -87,8 +87,8 @@
1.20 case 'p': /* Start immediately */
1.21 start_immediately = TRUE;
1.22 break;
1.23 - case 'q': /* Quit on DC program exit */
1.24 - dcload_set_allow_exit(TRUE);
1.25 + case 'u': /* Allow unsafe dcload syscalls */
1.26 + dcload_set_allow_unsafe(TRUE);
1.27 break;
1.28 case 'b': /* No BIOS */
1.29 without_bios = TRUE;
.