File tree 4 files changed +13
-9
lines changed
core_modules/snes9x2010.hmod/bin
4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ filebase=$(basename "$filename")
16
16
extension=" ${filebase##* .} "
17
17
if [ " $extension " == " sfrom" ]; then
18
18
mkdir -p $tmppath
19
+ rm -f $tmppath /* .7z
20
+ rm -f $tmppath /* .bin
19
21
dd if=" $filename " of=" $tmppath /$filebase .bin" bs=48 skip=1
20
22
filename=$tmppath /$filebase .bin
21
23
fi
Original file line number Diff line number Diff line change @@ -27,13 +27,15 @@ while [ $# -gt 0 ]; do
27
27
[ " $1 " == " --video-mode" ] && [ " $2 " == " pixel-perfect" ] && filter=ppu
28
28
[ " $1 " == " --ra-extra" ] && extra=$2
29
29
[ " $1 " == " --ra-nosaves" ] && nosaves=1
30
- [ " $1 " == " --save-time-path" ] && timefile=$2
30
+ [ " $1 " == " --load-time-path" ] && timefile_load=$2
31
+ [ " $1 " == " --save-time-path" ] && timefile_save=$2
31
32
[ " $1 " == " --replay-inputs" ] && demo=1
32
33
[ " $1 " == " --decorative-frame-path" ] && frame=$2
33
34
shift
34
35
done
35
36
36
- [ -z " $timefile " ] && timefile=$load$t_suffix
37
+ [ -z " $timefile_save " ] && timefile_save=$load$t_suffix
38
+ [ -z " $timefile_load " ] && timefile_load=$load$t_suffix
37
39
38
40
[ ! -z " $demo " ] && load=$( dirname $load ) /savestate
39
41
@@ -73,7 +75,7 @@ sed -i -e 's/overlay0_desc0_overlay = "[^"]*"/overlay0_desc0_overlay = "'$overla
73
75
# Start timestamp
74
76
ts=$( date +" %s" )
75
77
tm=0
76
- [ -f " $timefile " ] && tm=$( cat " $timefile " )
78
+ [ -f " $timefile_load " ] && tm=$( cat " $timefile_load " )
77
79
78
80
retroarch -c " $HOME /retroarch.cfg" -vfL " $core " " $rom " $extra &
79
81
rpid=$!
160
162
# Time
161
163
ts2=$( date +" %s" )
162
164
tm=$(( tm + ts2 - ts))
163
- echo $tm > " $timefile "
165
+ echo $tm > " $timefile_save "
164
166
165
167
grep " video_smooth =" /etc/libretro/retroarch.cfg | grep true && current_smooth=true || current_smooth=false
166
168
echo $current_smooth > /etc/libretro/$filter .smooth
Original file line number Diff line number Diff line change 1
- 21
1
+ 22
Original file line number Diff line number Diff line change @@ -79,16 +79,16 @@ menu_thumbnails = "3"
79
79
materialui_menu_color_theme = " 0"
80
80
menu_shader_pipeline = " 1"
81
81
audio_out_rate = " 48000"
82
- custom_viewport_width = " 880 "
82
+ custom_viewport_width = " 896 "
83
83
custom_viewport_height = " 672"
84
- custom_viewport_x = " 200 "
84
+ custom_viewport_x = " 192 "
85
85
custom_viewport_y = " 24"
86
86
content_history_size = " 100"
87
87
video_frame_delay = " 0"
88
88
video_max_swapchain_images = " 3"
89
89
video_swap_interval = " 1"
90
90
video_rotation = " 0"
91
- aspect_ratio_index = " 14 "
91
+ aspect_ratio_index = " 22 "
92
92
state_slot = " 0"
93
93
bundle_assets_extract_version_current = " 0"
94
94
bundle_assets_extract_last_version = " 0"
@@ -177,7 +177,7 @@ video_allow_rotate = "true"
177
177
video_windowed_fullscreen = " true"
178
178
video_crop_overscan = " false"
179
179
video_scale_integer = " false"
180
- video_smooth = " false "
180
+ video_smooth = " true "
181
181
video_force_aspect = " true"
182
182
video_threaded = " false"
183
183
video_shared_context = " false"
You can’t perform that action at this time.
0 commit comments