Retrieving user infos?
-
- Posts: 4
- Joined: Sat Feb 12, 2011 6:35 am
Retrieving user infos?
I know this is a n00b question, but how can I retrieve any user infos? I can't seem to find a tutorial/example anywhere...
-
- Posts: 30
- Joined: Fri Dec 17, 2010 1:34 pm
- Location: Either side of South Bypass, Madrid, Spain
Re: Retrieving user infos?
you can retrieve this information from the
tPERSONAL_DATA struct defined in system.h
http://devkitpro.org/libnds/a00098.html
tPERSONAL_DATA struct defined in system.h
http://devkitpro.org/libnds/a00098.html
--------------------------------
Welcome, my son, to the machine.
Pink Floyd.
Welcome, my son, to the machine.
Pink Floyd.
-
- Posts: 85
- Joined: Mon Sep 27, 2010 5:26 pm
Re: Retrieving user infos?
I got 'system.h no such file or directory' error!?
Re: Retrieving user infos?
and i suppose it would be too much to ask for you to search for system.h, look at the directory it is, and consider how you have included files in that directory in the past, and apply that to the case of system.h?
Re: Retrieving user infos?
you shouldn't include "system.h", it already gets included in "nds.h"
you can access the user data with the "PersonalData" define, so "PersonalData->name" will get you the users name in utf-16 format.
you can access the user data with the "PersonalData" define, so "PersonalData->name" will get you the users name in utf-16 format.
-
- Posts: 85
- Joined: Mon Sep 27, 2010 5:26 pm
Re: Retrieving user infos?
Ooups!and i suppose it would be too much to ask for you to search for system.h, look at the directory it is, and consider how you have included files in that directory in the past, and apply that to the case of system.h?
I understand!
Thanks, vuurrobin!
Who is online
Users browsing this forum: Ahrefs [Bot] and 5 guests