Is there any way to get the current username ?
thanks
get username
-
- Posts: 25
- Joined: Fri Jan 19, 2007 3:03 pm
-
- Posts: 376
- Joined: Wed May 10, 2006 11:31 pm
The sample is in /samples/utility/systemparam
It's a bit buried in there, but the code you are wanting is something like:
It's a bit buried in there, but the code you are wanting is something like:
Code: Select all
char nickName[20];
sceUtilityGetSystemParamString(PSP_SYSTEMPARAM_ID_STRING_NICKNAME, nickName, 20);
pspDebugScreenPrintf(nickName);