diff --git a/package/batocera/core/batocera-configgen/configgen/configgen/generators/libretro/libretroOptions.py b/package/batocera/core/batocera-configgen/configgen/configgen/generators/libretro/libretroOptions.py index 27e76471ffd..e9950d3490b 100644 --- a/package/batocera/core/batocera-configgen/configgen/configgen/generators/libretro/libretroOptions.py +++ b/package/batocera/core/batocera-configgen/configgen/configgen/generators/libretro/libretroOptions.py @@ -2658,9 +2658,16 @@ def generateCoreSettings(coreSettings, system, rom, guns, wheels): else: coreSettings.save('pcsx_rearmed_frameskip', '"0"') # Enhanced resolution at the cost of lower performance - # Speed hack causes game glitches - turn it off. - coreSettings.save('pcsx_rearmed_neon_enhancement_enable', '"disabled"') - coreSettings.save('pcsx_rearmed_neon_enhancement_no_main', '"disabled"') + if system.isOptSet('neon_enhancement') and system.config['neon_enhancement'] != 'disabled': + if system.config['neon_enhancement'] == 'enabled': + coreSettings.save('pcsx_rearmed_neon_enhancement_enable', '"enabled"') + coreSettings.save('pcsx_rearmed_neon_enhancement_no_main', '"disabled"') + elif system.config['neon_enhancement'] == 'enabled_with_speedhack': + coreSettings.save('pcsx_rearmed_neon_enhancement_enable', '"enabled"') + coreSettings.save('pcsx_rearmed_neon_enhancement_no_main', '"enabled"') + else: + coreSettings.save('pcsx_rearmed_neon_enhancement_enable', '"disabled"') + coreSettings.save('pcsx_rearmed_neon_enhancement_no_main', '"disabled"') # Multitap if system.isOptSet('pcsx_rearmed_multitap'): coreSettings.save('pcsx_rearmed_multitap', '"' + system.config['pcsx_rearmed_multitap'] + '"') diff --git a/package/batocera/emulationstation/batocera-es-system/es_features.yml b/package/batocera/emulationstation/batocera-es-system/es_features.yml index 9b7c2503596..c394e4e149f 100644 --- a/package/batocera/emulationstation/batocera-es-system/es_features.yml +++ b/package/batocera/emulationstation/batocera-es-system/es_features.yml @@ -4804,6 +4804,13 @@ libretro: "1": 1 "2": 2 "3": 3 + neon_enhancement: + prompt: ENHANCED RENDERING RESOLUTION + description: Double the rendering resolution. + choices: + "Off": disabled + "On": enabled + "On (Speed hack)": enabled_with_speedhack pcsx_rearmed_multitap: prompt: MULTITAP description: Allows up to 5 or 8 controllers in supported games.