From 59a98f6f32454d8d8e6d501bf44f13d1ac9041ea Mon Sep 17 00:00:00 2001 From: Nukem Date: Thu, 9 Jan 2025 21:22:37 -0500 Subject: [PATCH 1/2] libretro: Remove unused vertex cache option --- libretro/libretro_core_options.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libretro/libretro_core_options.h b/libretro/libretro_core_options.h index b1550e9321..f0ac57e3b0 100644 --- a/libretro/libretro_core_options.h +++ b/libretro/libretro_core_options.h @@ -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", From 02857afba4404f7c13669e9a45ff83a3eb80eecd Mon Sep 17 00:00:00 2001 From: Nukem Date: Thu, 9 Jan 2025 21:22:57 -0500 Subject: [PATCH 2/2] libretro: Fix buffered frames option values --- libretro/libretro.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp index 14be89e864..8764abe66e 100644 --- a/libretro/libretro.cpp +++ b/libretro/libretro.cpp @@ -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";