Options.c
1 /***************************************************************************** 2 3 This file is part of x2600, the Atari 2600 Emulator 4 =================================================== 5 6 Copyright 1996 Alex Hornby. For contributions see the file CREDITS. 7 8 This software is distributed under the terms of the GNU General Public 9 License. This is free software with ABSOLUTELY NO WARRANTY. 10 11 See the file COPYING for details. 12 13 $Id: options.c,v 1.7 1996/11/24 16:55:40 ahornby Exp $ 14 ******************************************************************************/ 15 //This file was modified from its original version for use in PocketVCS 16 // by Stuart Russell 17 18 /* Command Line Option Parser */ 19 #include "config.h" 20 #include <stdio.h> 21 #include <stdlib.h> 22 23 /* *INDENT-OFF* */ 24 /* Options common to all ports of x2600 */ 25 struct BaseOptions { 26 // int rr;// unused 27 int tvtype; 28 int lcon; 29 int rcon; 30 int bank; 31 int magstep; 32 char filename[80]; 33 int sound; 34 int swap; 35 int realjoy; 36 int limit; 37 int mousey; 38 int mitshm; 39 int dbg_level; 40 } base_opts={0,1,1,1,1,"",1,1,1,1,1,0,0}; 41 42 char *argv[64]; 43 int argc; 44 45 // was written as "(int argc, char **argv)" 46 void parse_options(void) 47 { 48 // base_opts.lcon = 1; 49 } 50