File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
emulators/standalone/lime3ds-sa/scripts
ui/emulationstation/config/common Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ RENDERER=$(get_setting graphics_backend 3ds "${GAME}")
32
32
RES=$( get_setting resolution_scale 3ds " ${GAME} " )
33
33
ROTATE=$( get_setting rotate_screen 3ds " ${GAME} " )
34
34
SLAYOUT=$( get_setting screen_layout 3ds " ${GAME} " )
35
+ CSHADERS=$( get_setting cache_shaders 3ds " ${GAME} " )
36
+ HSHADERS=$( get_setting hardware_shaders 3ds " ${GAME} " )
37
+
35
38
36
39
# CPU Underclock
37
40
case " ${CPU} " in
@@ -56,6 +59,18 @@ case "${ROTATE}" in
56
59
1) sed -i ' /upright_screen =/c\upright_screen = 1' /storage/.config/lime3ds/sdl2-config.ini;;
57
60
esac
58
61
62
+ # Cache Shaders
63
+ case " ${CSHADERS} " in
64
+ 0) sed -i ' /use_disk_shader_cache =/c\use_disk_shader_cache = 0' /storage/.config/lime3ds/sdl2-config.ini;;
65
+ 1) sed -i ' /use_disk_shader_cache =/c\use_disk_shader_cache = 1' /storage/.config/lime3ds/sdl2-config.ini;;
66
+ esac
67
+
68
+ # Hardware Shaders
69
+ case " ${HSHADERS} " in
70
+ 0) sed -i ' /use_hw_shader =/c\use_hw_shader = 0' /storage/.config/lime3ds/sdl2-config.ini;;
71
+ 1) sed -i ' /use_hw_shader =/c\use_hw_shader = 1' /storage/.config/lime3ds/sdl2-config.ini;;
72
+ esac
73
+
59
74
# Screen Layout
60
75
case " ${SLAYOUT} " in
61
76
0)
Original file line number Diff line number Diff line change 592
592
<choice name=" opengl" value=" 1" />
593
593
<choice name=" vulkan" value=" 2" />
594
594
</feature>
595
+ <feature name=" cache shaders" >
596
+ <choice name=" on" value=" 1" />
597
+ <choice name=" off" value=" 0" />
598
+ </feature>
599
+ <feature name=" hardware shaders" >
600
+ <choice name=" on" value=" 1" />
601
+ <choice name=" off" value=" 0" />
602
+ </feature>
595
603
<feature name=" resolution scale" >
596
604
<choice name=" Native 3DS" value=" 1" />
597
605
<choice name=" 2x" value=" 2" />
You can’t perform that action at this time.
0 commit comments