add more overscan crop options

This commit is contained in:
tacoschip
2023-03-10 21:47:35 -05:00
committed by GitHub
parent b205d707f1
commit 3469b5277c
2 changed files with 116 additions and 59 deletions

View File

@@ -161,32 +161,72 @@ struct retro_core_option_v2_definition option_defs[] = {
},
#else
{
"fceumm_overscan_h",
"Crop Horizontal Overscan",
"fceumm_overscan_h_left",
"Crop Horizontal Left Overscan",
NULL,
"Removes 8 pixels from left and right sides of the screen to simulate overscan seen on standard CRT televisions.",
"Removes pixels from left side of the screen to simulate overscan seen on standard CRT televisions.",
NULL,
"video",
{
{ "disabled", NULL },
{ "enabled", NULL },
{ "0", NULL },
{ "4", NULL },
{ "8", NULL },
{ "12", NULL },
{ "16", NULL },
{ NULL, NULL },
},
"disabled",
"0",
},
{
"fceumm_overscan_v",
"Crop Vertical Overscan",
"fceumm_overscan_h_right",
"Crop Horizontal Right Overscan",
NULL,
"Removes 8 pixels from the top and bottom of the screen to simulate overscan seen on standard CRT televisions.",
"Removes pixels from right side of the screen to simulate overscan seen on standard CRT televisions.",
NULL,
"video",
{
{ "disabled", NULL },
{ "enabled", NULL },
{ "0", NULL },
{ "4", NULL },
{ "8", NULL },
{ "12", NULL },
{ "16", NULL },
{ NULL, NULL },
},
"enabled",
"0",
},
{
"fceumm_overscan_v_top",
"Crop Vertical Top Overscan",
NULL,
"Removes pixels from the top of the screen to simulate overscan seen on standard CRT televisions.",
NULL,
"video",
{
{ "0", NULL },
{ "4", NULL },
{ "8", NULL },
{ "12", NULL },
{ "16", NULL },
{ NULL, NULL },
},
"8",
},
{
"fceumm_overscan_v_bottom",
"Crop Vertical Bottom Overscan",
NULL,
"Removes pixels from the bottom of the screen to simulate overscan seen on standard CRT televisions.",
NULL,
"video",
{
{ "0", NULL },
{ "4", NULL },
{ "8", NULL },
{ "12", NULL },
{ "16", NULL },
{ NULL, NULL },
},
"8",
},
#endif /* overscan options */
{