Skip to content

Commit

Permalink
Merge pull request #19845 from Nukem9/lrfix
Browse files Browse the repository at this point in the history
Libretro core fixes
  • Loading branch information
hrydgard authored Jan 10, 2025
2 parents f2736af + 02857af commit 07f6b6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
6 changes: 3 additions & 3 deletions libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -772,11 +772,11 @@ static void check_variables(CoreParameter &coreParam)
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
{
if (!strcmp(var.value, "No buffer"))
g_Config.iInflightFrames = 0;
else if (!strcmp(var.value, "Up to 1"))
g_Config.iInflightFrames = 1;
else if (!strcmp(var.value, "Up to 2"))
else if (!strcmp(var.value, "Up to 1"))
g_Config.iInflightFrames = 2;
else if (!strcmp(var.value, "Up to 2"))
g_Config.iInflightFrames = 3;
}

var.key = "ppsspp_skip_buffer_effects";
Expand Down
10 changes: 0 additions & 10 deletions libretro/libretro_core_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -601,16 +601,6 @@ struct retro_core_option_v2_definition option_defs_us[] = {
BOOL_OPTIONS,
"disabled"
},
{
"ppsspp_vertex_cache",
"Vertex Cache",
NULL,
"Faster, but may cause temporary flicker.",
NULL,
"video",
BOOL_OPTIONS,
"disabled"
},
{
"ppsspp_texture_scaling_type",
"Texture Upscale Type",
Expand Down

0 comments on commit 07f6b6f

Please sign in to comment.