summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arm9/source/main.c7
-rw-r--r--source/main.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/arm9/source/main.c b/arm9/source/main.c
index 38c28f1..1296f40 100644
--- a/arm9/source/main.c
+++ b/arm9/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);
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);