aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/commoninclude
diff options
context:
space:
mode:
authorMax Horn2010-07-05 20:36:43 +0000
committerMax Horn2010-07-05 20:36:43 +0000
commitedac80ad6bd785e4925764bdd1bea2084aefc143 (patch)
tree85df08e32a50be8be339ac2fce79b92157af90c0 /backends/platform/ds/commoninclude
parent429de8f6efc3d3dcbbdfbc9f7eb53d2d096ca925 (diff)
downloadscummvm-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/commoninclude')
-rw-r--r--backends/platform/ds/commoninclude/NDS/scummvm_ipc.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/backends/platform/ds/commoninclude/NDS/scummvm_ipc.h b/backends/platform/ds/commoninclude/NDS/scummvm_ipc.h
index e0cda4d972..cf6436634a 100644
--- a/backends/platform/ds/commoninclude/NDS/scummvm_ipc.h
+++ b/backends/platform/ds/commoninclude/NDS/scummvm_ipc.h
@@ -80,16 +80,16 @@ typedef struct scummvmTransferRegion {
uint8 curtime[8]; // current time response from RTC
struct {
- u8 rtc_command;
- u8 rtc_year; //add 2000 to get 4 digit year
- u8 rtc_month; //1 to 12
- u8 rtc_day; //1 to (days in month)
-
- u8 rtc_incr;
- u8 rtc_hours; //0 to 11 for AM, 52 to 63 for PM
- u8 rtc_minutes; //0 to 59
- u8 rtc_seconds; //0 to 59
- };
+ u8 command;
+ u8 year; //add 2000 to get 4 digit year
+ u8 month; //1 to 12
+ u8 day; //1 to (days in month)
+
+ u8 incr;
+ u8 hours; //0 to 11 for AM, 52 to 63 for PM
+ u8 minutes; //0 to 59
+ u8 seconds; //0 to 59
+ } rtc;
};
uint16 battery; // battery life ?? hopefully. :)