mirror of
https://github.com/libretro/RetroArch
synced 2025-02-23 06:41:04 +00:00
(UWP) Don't try to access C:\Windows\Fonts
It's going to fail anyway
This commit is contained in:
parent
dcdcc938bf
commit
ced5af9314
@ -262,7 +262,7 @@ static const char *font_renderer_stb_unicode_get_default_font(void)
|
||||
return "";
|
||||
#else
|
||||
static const char *paths[] = {
|
||||
#if defined(_WIN32)
|
||||
#if defined(_WIN32) && !defined(__WINRT__)
|
||||
"C:\\Windows\\Fonts\\consola.ttf",
|
||||
"C:\\Windows\\Fonts\\verdana.ttf",
|
||||
#elif defined(__APPLE__)
|
||||
@ -283,7 +283,7 @@ static const char *font_renderer_stb_unicode_get_default_font(void)
|
||||
"vs0:data/external/font/pvf/k006004ds.ttf",
|
||||
"vs0:data/external/font/pvf/n023055ms.ttf",
|
||||
"vs0:data/external/font/pvf/n023055ts.ttf",
|
||||
#else
|
||||
#elif !defined(__WINRT__)
|
||||
"/usr/share/fonts/TTF/DejaVuSansMono.ttf",
|
||||
"/usr/share/fonts/TTF/DejaVuSans.ttf",
|
||||
"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf",
|
||||
|
Loading…
x
Reference in New Issue
Block a user