From ef3f19697cc35eac492d9b1fb00eaa9508819734 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 12 May 2008 16:38:50 +0000 Subject: [PATCH] get time & date on Wii/cube too --- source/filetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/filetime.c b/source/filetime.c index d287de9..67514cd 100644 --- a/source/filetime.c +++ b/source/filetime.c @@ -56,7 +56,7 @@ #define MIN_DAY 1 u16 _FAT_filetime_getTimeFromRTC (void) { -#ifdef NDS +#ifndef GBA struct tm timeParts; time_t epochTime; @@ -83,7 +83,7 @@ u16 _FAT_filetime_getTimeFromRTC (void) { u16 _FAT_filetime_getDateFromRTC (void) { -#ifdef NDS +#ifndef GBA struct tm timeParts; time_t epochTime;