get time & date on Wii/cube too

This commit is contained in:
Dave Murphy 2008-05-12 16:38:50 +00:00
parent ad1161c083
commit ef3f19697c

View File

@ -56,7 +56,7 @@
#define MIN_DAY 1 #define MIN_DAY 1
u16 _FAT_filetime_getTimeFromRTC (void) { u16 _FAT_filetime_getTimeFromRTC (void) {
#ifdef NDS #ifndef GBA
struct tm timeParts; struct tm timeParts;
time_t epochTime; time_t epochTime;
@ -83,7 +83,7 @@ u16 _FAT_filetime_getTimeFromRTC (void) {
u16 _FAT_filetime_getDateFromRTC (void) { u16 _FAT_filetime_getDateFromRTC (void) {
#ifdef NDS #ifndef GBA
struct tm timeParts; struct tm timeParts;
time_t epochTime; time_t epochTime;