Skip to content

Commit

Permalink
libretro: Reorder overscan settings to be intuitive
Browse files Browse the repository at this point in the history
  • Loading branch information
carmiker committed Aug 4, 2024
1 parent c42ab45 commit d0dc8b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions bsnes/target-libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,14 @@ static void update_variables(void)

if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var))
{
if (strcmp(var.value, "16") == 0)
program->overscan = 16;
else if (strcmp(var.value, "12") == 0)
program->overscan = 12;
if (strcmp(var.value, "0") == 0)
program->overscan = 0;
else if (strcmp(var.value, "8") == 0)
program->overscan = 8;
else if (strcmp(var.value, "0") == 0)
program->overscan = 0;
else if (strcmp(var.value, "12") == 0)
program->overscan = 12;
else if (strcmp(var.value, "16") == 0)
program->overscan = 16;
}

var.key = "bsnes_blur_emulation";
Expand Down
6 changes: 3 additions & 3 deletions bsnes/target-libretro/libretro_core_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ struct retro_core_option_v2_definition option_defs_us[] = {
NULL,
"video",
{
{ "16", "16 Lines" },
{ "12", "12 Lines" },
{ "8", "8 Lines" },
{ "0", "0 Lines" },
{ "8", "8 Lines" },
{ "12", "12 Lines" },
{ "16", "16 Lines" },
{ NULL, NULL },
},
"8"
Expand Down

0 comments on commit d0dc8b0

Please sign in to comment.