summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c7
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];