From: notaz Date: Fri, 14 Jul 2023 22:56:42 +0000 (+0300) Subject: libretro: allow_interlace should be 2 by default X-Git-Tag: r24l~299 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c53dce313b786d55ff3f9c363ba26f4c0b3476e;p=pcsx_rearmed.git libretro: allow_interlace should be 2 by default --- diff --git a/frontend/libretro.c b/frontend/libretro.c index e4772848..938b8e59 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1881,7 +1881,7 @@ static void update_variables(bool in_flight) #ifdef GPU_NEON var.value = NULL; - var.key = "pcsx_rearmed_neon_interlace_enable"; + var.key = "pcsx_rearmed_neon_interlace_enable_v2"; if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) { @@ -1889,6 +1889,8 @@ static void update_variables(bool in_flight) pl_rearmed_cbs.gpu_neon.allow_interlace = 0; else if (strcmp(var.value, "enabled") == 0) pl_rearmed_cbs.gpu_neon.allow_interlace = 1; + else // auto + pl_rearmed_cbs.gpu_neon.allow_interlace = 2; } var.value = NULL; diff --git a/frontend/libretro_core_options.h b/frontend/libretro_core_options.h index 0a3f55c7..4165237d 100644 --- a/frontend/libretro_core_options.h +++ b/frontend/libretro_core_options.h @@ -437,18 +437,19 @@ struct retro_core_option_v2_definition option_defs_us[] = { }, #ifdef GPU_NEON { - "pcsx_rearmed_neon_interlace_enable", + "pcsx_rearmed_neon_interlace_enable_v2", "(GPU) Show Interlaced Video", "Show Interlaced Video", - "When enabled, games that run in high resolution video modes (480i, 512i) will produced interlaced video output. While this displays correctly on CRT televisions, it will produce artifacts on modern displays. When disabled, all video is output in progressive format.", + "When enabled, games that run in high resolution video modes (480i, 512i) will produced interlaced video output. While this displays correctly on CRT televisions, it will produce artifacts on modern displays. When disabled, all video is output in progressive format. Note: there are games that will glitch is this is off.", NULL, "gpu_neon", { + { "auto", NULL }, { "disabled", NULL }, { "enabled", NULL }, { NULL, NULL }, }, - "disabled", + "auto", }, { "pcsx_rearmed_neon_enhancement_enable", diff --git a/frontend/libretro_core_options_intl.h b/frontend/libretro_core_options_intl.h index df03a767..d6658222 100644 --- a/frontend/libretro_core_options_intl.h +++ b/frontend/libretro_core_options_intl.h @@ -239,7 +239,7 @@ struct retro_core_option_v2_definition option_defs_tr[] = { #ifdef GPU_NEON { - "pcsx_rearmed_neon_interlace_enable", + "pcsx_rearmed_neon_interlace_enable_v2", "Interlacing Mode'u etkinleştir", NULL, "Sahte tarama çizgileri efektini etkinleştirir.",