From 5498b8ad6777c4367194b971e5a78a12790161e4 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 22 Oct 2024 21:44:27 +0300 Subject: [PATCH] standalone: neon dithering should be on by default on switch too --- frontend/libretro_core_options.h | 2 +- frontend/main.c | 1 + frontend/menu.c | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/libretro_core_options.h b/frontend/libretro_core_options.h index 384c58a5..7fe90812 100644 --- a/frontend/libretro_core_options.h +++ b/frontend/libretro_core_options.h @@ -330,7 +330,7 @@ struct retro_core_option_v2_definition option_defs_us[] = { { "enabled", NULL }, { NULL, NULL }, }, -#if defined HAVE_LIBNX || defined _3DS +#if defined(_3DS) "disabled", #else "enabled", diff --git a/frontend/main.c b/frontend/main.c index 607426b8..3ead1b08 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -130,6 +130,7 @@ void emu_set_default_config(void) Config.FractionalFramerate = -1; pl_rearmed_cbs.gpu_neon.allow_interlace = 2; // auto + pl_rearmed_cbs.gpu_neon.allow_dithering = 1; pl_rearmed_cbs.gpu_neon.enhancement_enable = pl_rearmed_cbs.gpu_neon.enhancement_no_main = 0; pl_rearmed_cbs.gpu_neon.enhancement_tex_adj = 1; diff --git a/frontend/menu.c b/frontend/menu.c index 8549279a..95d4edf6 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -1427,10 +1427,11 @@ static const char *men_gpu_interlace[] = { "Off", "On", "Auto", NULL }; static menu_entry e_menu_plugin_gpu_neon[] = { - mee_enum ("Enable interlace mode", 0, pl_rearmed_cbs.gpu_neon.allow_interlace, men_gpu_interlace), mee_onoff_h ("Enhanced resolution", 0, pl_rearmed_cbs.gpu_neon.enhancement_enable, 1, h_gpu_neon_enhanced), mee_onoff_h ("Enhanced res. speed hack", 0, pl_rearmed_cbs.gpu_neon.enhancement_no_main, 1, h_gpu_neon_enhanced_hack), mee_onoff_h ("Enh. res. texture adjust", 0, pl_rearmed_cbs.gpu_neon.enhancement_tex_adj, 1, h_gpu_neon_enhanced_texadj), + mee_enum ("Enable interlace mode", 0, pl_rearmed_cbs.gpu_neon.allow_interlace, men_gpu_interlace), + mee_onoff ("Enable dithering", 0, pl_rearmed_cbs.gpu_neon.allow_dithering, 1), mee_end, }; -- 2.39.5