mirror of
https://github.com/libretro/RetroArch
synced 2025-02-19 12:41:00 +00:00
Merge pull request #25 from alphanu1/alphanu1-patch-26
Add files via upload
This commit is contained in:
commit
e8d90500de
@ -57,10 +57,14 @@ void screen_setup_aspect(int width, int height)
|
|||||||
{ /* create correct aspect to fit video if resolution does not exist */
|
{ /* create correct aspect to fit video if resolution does not exist */
|
||||||
switch_crt_hz();
|
switch_crt_hz();
|
||||||
/* get original resolution of core */
|
/* get original resolution of core */
|
||||||
if (width >= 1900)
|
|
||||||
{
|
|
||||||
if (height == 4)
|
if (height == 4)
|
||||||
{ /* detect menu only */
|
{
|
||||||
|
if (width < 1920)
|
||||||
|
{
|
||||||
|
width = 640;
|
||||||
|
}/* detect menu only */
|
||||||
height = 480;
|
height = 480;
|
||||||
aspect_ratio_switch(width,height);
|
aspect_ratio_switch(width,height);
|
||||||
}
|
}
|
||||||
@ -106,7 +110,7 @@ void screen_setup_aspect(int width, int height)
|
|||||||
height = 254;
|
height = 254;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
switch_res_crt(width, height);
|
switch_res_crt(width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user