From e9a5625445e5c1903f439c111b852d9f3190ecb9 Mon Sep 17 00:00:00 2001 From: Ash Logan Date: Tue, 20 Jul 2021 08:59:16 +1000 Subject: [PATCH] (Wii U/Vita) Use Ozone icons instead of XMB Monochrome The Ozone icons are small pngs, 46x46, while the XMB Monochrome icons are 256x256, which do not look good on low-dpi screens when downscaled so extremely. --- file_path_special.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/file_path_special.c b/file_path_special.c index 153bde3018..e23ae4287e 100644 --- a/file_path_special.c +++ b/file_path_special.c @@ -304,6 +304,21 @@ void fill_pathname_application_special(char *s, strlcpy(s, dir_assets, len); fill_pathname_slash(s, len); +#if defined(WIIU) || defined(VITA) + /* Smaller 46x46 icons look better on low-dpi devices */ + /* ozone */ + strlcat(s, "ozone", len); + fill_pathname_slash(s, len); + + /* png */ + strlcat(s, "png", len); + fill_pathname_slash(s, len); + + /* Icons path */ + strlcat(s, "icons", len); + fill_pathname_slash(s, len); +#else + /* Otherwise, use large 256x256 icons */ /* xmb */ strlcat(s, "xmb", len); fill_pathname_slash(s, len); @@ -315,6 +330,7 @@ void fill_pathname_application_special(char *s, /* Icons path */ strlcat(s, "png", len); fill_pathname_slash(s, len); +#endif } #endif break;