From 74265b797d2fa55a5a2af9d57b6d494294b2266f Mon Sep 17 00:00:00 2001 From: Apaczer <94932128+Apaczer@users.noreply.github.com> Date: Tue, 1 Apr 2025 21:14:42 +0200 Subject: [PATCH] MIYOO: frontend: add custom def config Update main & menu --- frontend/main.c | 5 +++++ frontend/menu.c | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/frontend/main.c b/frontend/main.c index a4a3a481..43373161 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -143,6 +143,11 @@ void emu_set_default_config(void) #ifndef HAVE_LIBRETRO spu_config.iTempo = 1; #endif +#endif +#if defined(MIYOO) + pl_rearmed_cbs.dithering = 0; + pl_rearmed_cbs.gpu_unai.fast_lighting = 1; + pl_rearmed_cbs.gpu_unai.scale_hires = 1; #endif ndrc_g.hacks = 0; diff --git a/frontend/menu.c b/frontend/menu.c index 8cbfd8eb..1b6ed583 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -348,13 +348,21 @@ static void menu_set_defconfig(void) g_scaler = SCALE_4_3; g_gamma = 100; volume_boost = 0; +#ifdef MIYOO + frameskip = 0; // 0 - auto +#else frameskip = 1; // 1 - off +#endif analog_deadzone = 50; soft_scaling = 1; soft_filter = 0; scanlines = 0; scanline_level = 20; +#ifdef MIYOO + plat_target.vout_fullscreen = 1; +#else plat_target.vout_fullscreen = 0; +#endif psx_clock = DEFAULT_PSX_CLOCK; region = 0; -- 2.47.2