mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-25 20:25:42 +00:00
(3DS) xmb menu tweak.
This commit is contained in:
parent
cb8aca97f5
commit
1aafa29562
@ -2470,6 +2470,9 @@ static void xmb_layout_psp(xmb_handle_t *xmb, int width)
|
|||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
scale_factor = ((settings->menu.xmb.scale_factor * width) / (1920.0 * 100)) * 1.5;
|
scale_factor = ((settings->menu.xmb.scale_factor * width) / (1920.0 * 100)) * 1.5;
|
||||||
|
#ifdef _3DS
|
||||||
|
scale_factor = settings->menu.xmb.scale_factor / 400.0;
|
||||||
|
#endif
|
||||||
|
|
||||||
xmb->above_subitem_offset = 1.5;
|
xmb->above_subitem_offset = 1.5;
|
||||||
xmb->above_item_offset = -1.0;
|
xmb->above_item_offset = -1.0;
|
||||||
@ -2523,7 +2526,7 @@ static void xmb_layout(xmb_handle_t *xmb)
|
|||||||
video_driver_get_size(&width, &height);
|
video_driver_get_size(&width, &height);
|
||||||
|
|
||||||
/* Mimic the layout of the PSP instead of the PS3 on tiny screens */
|
/* Mimic the layout of the PSP instead of the PS3 on tiny screens */
|
||||||
if (width > 320)
|
if (width > 320 && height > 240)
|
||||||
xmb_layout_ps3(xmb, width);
|
xmb_layout_ps3(xmb, width);
|
||||||
else
|
else
|
||||||
xmb_layout_psp(xmb, width);
|
xmb_layout_psp(xmb, width);
|
||||||
|
Loading…
Reference in New Issue
Block a user