This could be done at the start of main() easily enough.
Logged In: YES user_id=1775469 Originator: NO
Adding this somewhere in menu.c will work:
#ifdef PSP char sVal[16]; if(sceUtilityGetSystemParamString(PSP_SYSTEMPARAM_ID_STRING_NICKNAME, sVal, 16) != PSP_SYSTEMPARAM_RETVAL_FAIL) { Cbuf_AddText ( va ("name \"%s\"\n", sVal) ); } #endif
I put it in M_Menu_MultiPlayer_f to test.
Log in to post a comment.
Logged In: YES
user_id=1775469
Originator: NO
Adding this somewhere in menu.c will work:
#ifdef PSP
char sVal[16];
if(sceUtilityGetSystemParamString(PSP_SYSTEMPARAM_ID_STRING_NICKNAME, sVal, 16) != PSP_SYSTEMPARAM_RETVAL_FAIL)
{
Cbuf_AddText ( va ("name \"%s\"\n", sVal) );
}
#endif
I put it in M_Menu_MultiPlayer_f to test.