mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 00:32:49 +00:00
(msg_hash_to_str) if settings is NULL, default to english strings
This commit is contained in:
parent
d4dcf784c9
commit
872d588c51
@ -26,7 +26,7 @@ const char *msg_hash_to_str(uint32_t hash)
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (!settings)
|
||||
return "null";
|
||||
goto end;
|
||||
|
||||
switch (settings->user_language)
|
||||
{
|
||||
@ -57,6 +57,7 @@ const char *msg_hash_to_str(uint32_t hash)
|
||||
if (ret && strcmp(ret, "null") != 0)
|
||||
return ret;
|
||||
|
||||
end:
|
||||
return msg_hash_to_str_us(hash);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user