Skip to content

Commit 4fb0335

Browse files
committed
Release 1.0
1 parent ee820bb commit 4fb0335

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

core_modules/snes9x2010.hmod/bin/snes

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ filebase=$(basename "$filename")
1616
extension="${filebase##*.}"
1717
if [ "$extension" == "sfrom" ]; then
1818
mkdir -p $tmppath
19+
rm -f $tmppath/*.7z
20+
rm -f $tmppath/*.bin
1921
dd if="$filename" of="$tmppath/$filebase.bin" bs=48 skip=1
2022
filename=$tmppath/$filebase.bin
2123
fi

retroarch.hmod/bin/retroarch-clover-child

+6-4
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ while [ $# -gt 0 ]; do
2727
[ "$1" == "--video-mode" ] && [ "$2" == "pixel-perfect" ] && filter=ppu
2828
[ "$1" == "--ra-extra" ] && extra=$2
2929
[ "$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
3132
[ "$1" == "--replay-inputs" ] && demo=1
3233
[ "$1" == "--decorative-frame-path" ] && frame=$2
3334
shift
3435
done
3536

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
3739

3840
[ ! -z "$demo" ] && load=$(dirname $load)/savestate
3941

@@ -73,7 +75,7 @@ sed -i -e 's/overlay0_desc0_overlay = "[^"]*"/overlay0_desc0_overlay = "'$overla
7375
# Start timestamp
7476
ts=$(date +"%s")
7577
tm=0
76-
[ -f "$timefile" ] && tm=$(cat "$timefile")
78+
[ -f "$timefile_load" ] && tm=$(cat "$timefile_load")
7779

7880
retroarch -c "$HOME/retroarch.cfg" -vfL "$core" "$rom" $extra &
7981
rpid=$!
@@ -160,7 +162,7 @@ fi
160162
# Time
161163
ts2=$(date +"%s")
162164
tm=$((tm + ts2 - ts))
163-
echo $tm > "$timefile"
165+
echo $tm > "$timefile_save"
164166

165167
grep "video_smooth =" /etc/libretro/retroarch.cfg | grep true && current_smooth=true || current_smooth=false
166168
echo $current_smooth > /etc/libretro/$filter.smooth
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
21
1+
22

retroarch.hmod/etc/libretro/retroarch.cfg

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,16 @@ menu_thumbnails = "3"
7979
materialui_menu_color_theme = "0"
8080
menu_shader_pipeline = "1"
8181
audio_out_rate = "48000"
82-
custom_viewport_width = "880"
82+
custom_viewport_width = "896"
8383
custom_viewport_height = "672"
84-
custom_viewport_x = "200"
84+
custom_viewport_x = "192"
8585
custom_viewport_y = "24"
8686
content_history_size = "100"
8787
video_frame_delay = "0"
8888
video_max_swapchain_images = "3"
8989
video_swap_interval = "1"
9090
video_rotation = "0"
91-
aspect_ratio_index = "14"
91+
aspect_ratio_index = "22"
9292
state_slot = "0"
9393
bundle_assets_extract_version_current = "0"
9494
bundle_assets_extract_last_version = "0"
@@ -177,7 +177,7 @@ video_allow_rotate = "true"
177177
video_windowed_fullscreen = "true"
178178
video_crop_overscan = "false"
179179
video_scale_integer = "false"
180-
video_smooth = "false"
180+
video_smooth = "true"
181181
video_force_aspect = "true"
182182
video_threaded = "false"
183183
video_shared_context = "false"

0 commit comments

Comments
 (0)