punkrockguy318
e1ab5818af
adjust loading string in previous commit to be more accurate
2012-03-06 06:41:52 +00:00
punkrockguy318
7d6a4b00d2
sdl: by default; check ${fceux_dir}/cfg.d/ for any files and loads the configuration in alphabetical order. useful for applying a specific configuration
2012-03-06 06:37:10 +00:00
punkrockguy318
06c8230c88
common/config: code formatting cleanup
...
NOTE: please use hardtabs (at least in drivers/sdl and drivers/common/config*)
devs: we should set a coding standard for future code/patches that we should be trying to conform to to prevent a mishmash of tabs/spaces and un-elegant code
2012-03-06 06:10:49 +00:00
punkrockguy318
878c379242
config: add Config::_loadFile function to allow loading custom configuration file
2012-03-06 06:03:26 +00:00
punkrockguy318
55a1faadd7
comment adjustment to head of fceux.cfg
2011-10-19 06:51:31 +00:00
punkrockguy318
2e5093fe6e
SDL: Comment added to SDL config file indicating the location of the keycode definitons
2010-02-20 04:11:29 +00:00
punkrockguy318
982facdad7
fix compile errors with gcc
2008-12-19 02:29:39 +00:00
adelikat
89c8715548
replaced instances of "fceux.cfg" with a variable std:string cfgFile
2008-10-13 16:09:13 +00:00
zeromus
13c8810730
fix sdl configfile woes
2008-08-13 04:47:19 +00:00
punkrockguy318
7429008e25
fixed saving/loading movies in sdl port
2008-07-03 06:35:37 +00:00
punkrockguy318
284740c373
config system no longer crashes
...
npos was negative, pos was unsigned
2008-06-10 17:49:01 +00:00
jeblanchard
4b43a1429d
Slightly less broken SDL config
2008-06-10 08:45:20 +00:00
punkrockguy318
4df6b97013
quieted a dumb warning and tripped useless code
2008-06-10 06:20:39 +00:00
punkrockguy318
d00be0620b
fixed compile error on gcc 4.3
2008-06-10 05:51:11 +00:00
jeblanchard
fd67041d4e
Convenience check-in (makes configSys an iota less buggy)
2008-06-09 11:58:21 +00:00
jeblanchard
bdf11aafa5
oops
2008-05-30 01:58:38 +00:00
gimmedonutnow
091d0b225d
- SDL now uses the new configuration system
2006-08-30 15:27:05 +00:00
zeromus
ee82ccc638
configsys needs to include ../../types.h to get the snprintf macro for vs
2006-08-24 03:36:59 +00:00
gimmedonutnow
349c47d122
- added config-file only options
2006-08-17 21:21:00 +00:00
gimmedonutnow
c985215391
- return error on _load() when no config file exists
2006-08-17 03:55:06 +00:00
gimmedonutnow
ea9b2a33a1
- added a way to have options like '-h, --help' by having the user of the class specify a function that is called when such options are seen
2006-08-14 22:35:14 +00:00
gimmedonutnow
4102348817
- added this configuration system for cross-platform testing
2006-08-10 05:25:19 +00:00