mirror of
https://github.com/libretro/RetroArch
synced 2024-12-27 15:29:23 +00:00
Add RETRO_ENVIRONMENT_GET_LANGUAGE to rarch_environment_cb
This commit is contained in:
parent
90b9f22886
commit
3053d2018a
@ -590,6 +590,11 @@ bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
RARCH_LOG("Environ GET_USERNAME: \"%s\".\n", g_settings.username);
|
||||
break;
|
||||
|
||||
case RETRO_ENVIRONMENT_GET_LANGUAGE:
|
||||
*(unsigned *)data = g_settings.user_language;
|
||||
RARCH_LOG("Environ GET_LANGUAGE: \"%d\".\n", g_settings.user_language);
|
||||
break;
|
||||
|
||||
case RETRO_ENVIRONMENT_SET_PIXEL_FORMAT:
|
||||
{
|
||||
enum retro_pixel_format pix_fmt = *(const enum retro_pixel_format*)data;
|
||||
|
Loading…
Reference in New Issue
Block a user