From 9443eab98692b668fd35fc2a7e2cfb043953dbc7 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 19 Dec 2003 19:31:57 +0000 Subject: Added start of simple GUI and tweaked font --- src/config.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/config.c') 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]; -- cgit v1.2.3