diff options
author | Ian C <ianc@noddybox.co.uk> | 2003-12-19 19:31:57 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2003-12-19 19:31:57 +0000 |
commit | 9443eab98692b668fd35fc2a7e2cfb043953dbc7 (patch) | |
tree | eb7082f5bfec8b065949e9b0e068837315db3e46 /src/config.c | |
parent | a43db151b99687a85932f8172f73151bfcb93e88 (diff) |
Added start of simple GUI and tweaked font
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c index edff062..3fdb00a 100644 --- a/src/config.c +++ b/src/config.c @@ -44,7 +44,8 @@ static const char ident_h[]=EZX81_CONFIG_H; /* ---------------------------------------- CONFIG */ -static char rompath[FILENAME_MAX]="zx81.rom"; +static char rompath[FILENAME_MAX]="./zx81.rom"; +static char tapedir[FILENAME_MAX]="."; static int fullscreen=FALSE; static int memsize=16; static int frames=50; @@ -57,6 +58,7 @@ static const struct int is_int; } config[]= { {"rompath", rompath, FALSE}, + {"tapedir", tapedir, FALSE}, {"fullscreen", &fullscreen, TRUE}, {"memsize", &memsize, TRUE}, {"frames", &frames, TRUE}, @@ -160,7 +162,8 @@ const char *SConfig(SConfigVar v) { static const char *vars[]= { - rompath + rompath, + tapedir }; return vars[v]; |