mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 13:20:43 +00:00
(WiiU) fix icon scaling in XMB.
This commit is contained in:
parent
50fc71a0a6
commit
dd5bc1a951
@ -577,7 +577,7 @@ static void xmb_draw_icon(
|
||||
|
||||
draw.width = icon_size;
|
||||
draw.height = icon_size;
|
||||
#if defined(VITA)
|
||||
#if defined(VITA) || defined(WIIU)
|
||||
draw.width *= scale_factor;
|
||||
draw.height *= scale_factor;
|
||||
#endif
|
||||
@ -598,7 +598,7 @@ static void xmb_draw_icon(
|
||||
draw.x = x + shadow_offset;
|
||||
draw.y = height - y - shadow_offset;
|
||||
|
||||
#if defined(VITA)
|
||||
#if defined(VITA) || defined(WIIU)
|
||||
if(scale_factor < 1)
|
||||
{
|
||||
draw.x = draw.x + (icon_size-draw.width)/2;
|
||||
@ -612,7 +612,7 @@ static void xmb_draw_icon(
|
||||
draw.x = x;
|
||||
draw.y = height - y;
|
||||
|
||||
#if defined(VITA)
|
||||
#if defined(VITA) || defined(WIIU)
|
||||
if(scale_factor < 1)
|
||||
{
|
||||
draw.x = draw.x + (icon_size-draw.width)/2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user