diff options
author | Max Horn | 2010-07-05 20:36:43 +0000 |
---|---|---|
committer | Max Horn | 2010-07-05 20:36:43 +0000 |
commit | edac80ad6bd785e4925764bdd1bea2084aefc143 (patch) | |
tree | 85df08e32a50be8be339ac2fce79b92157af90c0 /backends/platform/ds/arm9/source/fat | |
parent | 429de8f6efc3d3dcbbdfbc9f7eb53d2d096ca925 (diff) | |
download | scummvm-rg350-edac80ad6bd785e4925764bdd1bea2084aefc143.tar.gz scummvm-rg350-edac80ad6bd785e4925764bdd1bea2084aefc143.tar.bz2 scummvm-rg350-edac80ad6bd785e4925764bdd1bea2084aefc143.zip |
DS: Fix warning about anonymous struct
svn-id: r50709
Diffstat (limited to 'backends/platform/ds/arm9/source/fat')
-rw-r--r-- | backends/platform/ds/arm9/source/fat/gba_nds_fat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/platform/ds/arm9/source/fat/gba_nds_fat.c b/backends/platform/ds/arm9/source/fat/gba_nds_fat.c index b70d9e7b99..07affd8839 100644 --- a/backends/platform/ds/arm9/source/fat/gba_nds_fat.c +++ b/backends/platform/ds/arm9/source/fat/gba_nds_fat.c @@ -294,9 +294,9 @@ u16 getRTCtoFileTime (void) { #ifdef NDS return ( - ( ( (IPC->rtc_hours > 11 ? IPC->rtc_hours - 40 : IPC->rtc_hours) & 0x1F) << 11) | - ( (IPC->rtc_minutes & 0x3F) << 5) | - ( (IPC->rtc_seconds >> 1) & 0x1F) ); + ( ( (IPC->rtc.hours > 11 ? IPC->rtc.hours - 40 : IPC->rtc.hours) & 0x1F) << 11) | + ( (IPC->rtc.minutes & 0x3F) << 5) | + ( (IPC->rtc.seconds >> 1) & 0x1F) ); #else return 0; #endif @@ -306,9 +306,9 @@ u16 getRTCtoFileDate (void) { #ifdef NDS return ( - ( ((IPC->rtc_year + 20) & 0x7F) <<9) | - ( (IPC->rtc_month & 0xF) << 5) | - (IPC->rtc_day & 0x1F) ); + ( ((IPC->rtc.year + 20) & 0x7F) <<9) | + ( (IPC->rtc.month & 0xF) << 5) | + (IPC->rtc.day & 0x1F) ); #else return 0; #endif |