summaryrefslogtreecommitdiff
path: root/source/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/main.c')
-rw-r--r--source/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/main.c b/source/main.c
index 38c28f1..1296f40 100644
--- a/source/main.c
+++ b/source/main.c
@@ -89,6 +89,7 @@ static void Splash(void)
sImage img;
int f;
int y;
+ int res=FALSE;
ZX81DisplayString("10 print '%the zx81 is ace%'\n20 goto 10");
@@ -109,7 +110,11 @@ static void Splash(void)
y += 8;
- if (fatInitialise(32,true))
+#ifdef DS81_USE_FAT
+ res = fatInitialise(32,true);
+#endif
+
+ if (res)
{
ZX81EnableFileSystem(TRUE);