From c283a678a7fd45c6f2b67f940292d70da46f131f Mon Sep 17 00:00:00 2001 From: Ian C Date: Sat, 4 Nov 2006 01:16:18 +0000 Subject: Made the call to initialise the FAT library only if DS81_USE_FAT is defined. --- arm9/source/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'arm9/source/main.c') 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); -- cgit v1.2.3