libnds
|
User's DS settings. More...
#include <system.h>
Data Fields | |
u8 | alarmHour |
What hour the alarm clock is set to (0-23). | |
u8 | alarmMinute |
What minute the alarm clock is set to (0-59). | |
u8 | birthDay |
The user's birth day (1-31). | |
u8 | birthMonth |
The user's birth month (1-12). | |
u16 | calX1 |
Touchscreen calibration: first X touch. | |
u8 | calX1px |
Touchscreen calibration: first X touch pixel. | |
u16 | calX2 |
Touchscreen calibration: second X touch. | |
u8 | calX2px |
Touchscreen calibration: second X touch pixel. | |
u16 | calY1 |
Touchscreen calibration: first Y touch. | |
u8 | calY1px |
Touchscreen calibration: first X touch pixel. | |
u16 | calY2 |
Touchscreen calibration: second Y touch. | |
u8 | calY2px |
Touchscreen calibration: second Y touch pixel. | |
s16 | message [26] |
The user's message. | |
u16 | messageLen |
The length of the user's message in characters. | |
s16 | name [10] |
The user's name in UTF-16 format. | |
u16 | nameLen |
The length of the user's name in characters. | |
u8 | rtcClockAdjust |
Real Time Clock adjustment register value. | |
u32 | rtcOffset |
Real Time Clock offset. | |
u8 | theme |
The user's theme color (0-15). | |
u8 | year |
Year (0 = 2000 .. 255 = 2255) | |
User's DS settings.
Defines the structure the DS firmware uses for transfer of the user's settings to the booted program.
Theme/Color values:
Language values:
u32 tPERSONAL_DATA::rtcOffset |
Real Time Clock offset.
Whenever the time/date of the NDS is changed in the system settings menu from time A to time B, the firmware adds (epoch(B) - epoch(A)) to this field. libnds doesn't do this in rtcTimeSet() or rtcTimeAndDateSet(), so any game that relies on this firmware field to detect time/date modifications won't be able to do it.