mirror of
https://github.com/wiiu-env/libfat.git
synced 2024-11-25 19:36:52 +01:00
get time & date on Wii/cube too
This commit is contained in:
parent
ad1161c083
commit
ef3f19697c
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user