From 3053d2018a79e49ac6929b72f657de9fa0a1acc5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 1 Aug 2014 07:45:56 +0200 Subject: [PATCH] Add RETRO_ENVIRONMENT_GET_LANGUAGE to rarch_environment_cb --- dynamic.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dynamic.c b/dynamic.c index f6501234cc..0738c1fc36 100644 --- a/dynamic.c +++ b/dynamic.c @@ -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;