pub unsafe fn get_username<'a>(callback: retro_environment_t) -> Option<&'a str>Expand description
Returns the specified username of the frontend, if specified by the user.
This username can be used as a nickname for a core that has online facilities
or any other mode where personalization of the user is desirable.
The returned value can be None.
If this environment callback is used by a core that requires a valid username,
a default username should be specified by the core.