mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-13 06:10:55 +00:00
Cleanups
This commit is contained in:
parent
1e13cb9c69
commit
8cfb5b2922
@ -356,16 +356,17 @@ void fill_pathname_application_special(char *s, size_t len, enum application_spe
|
|||||||
case APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_FONT:
|
case APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_FONT:
|
||||||
#ifdef HAVE_XMB
|
#ifdef HAVE_XMB
|
||||||
{
|
{
|
||||||
char s1[PATH_MAX_LENGTH] = {0};
|
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
fill_pathname_application_special(s1, sizeof(s1),
|
|
||||||
APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB);
|
|
||||||
|
|
||||||
if (!string_is_empty(settings->menu.xmb_font))
|
if (!string_is_empty(settings->menu.xmb_font))
|
||||||
strlcpy(s, settings->menu.xmb_font, len);
|
strlcpy(s, settings->menu.xmb_font, len);
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
char s1[PATH_MAX_LENGTH] = {0};
|
||||||
|
fill_pathname_application_special(s1, sizeof(s1),
|
||||||
|
APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB);
|
||||||
fill_pathname_join(s, s1, "font.ttf", len);
|
fill_pathname_join(s, s1, "font.ttf", len);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user