From 4fb0335ef7d404c6cc30cafbe005f406445398d9 Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Thu, 12 Oct 2017 11:04:15 +0300 Subject: Release 1.0 --- core_modules/snes9x2010.hmod/bin/snes | 2 ++ retroarch.hmod/bin/retroarch-clover-child | 10 ++++++---- retroarch.hmod/etc/libretro/gpu720.ratio | 2 +- retroarch.hmod/etc/libretro/retroarch.cfg | 8 ++++---- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/core_modules/snes9x2010.hmod/bin/snes b/core_modules/snes9x2010.hmod/bin/snes index f0ff36f..1fae5d9 100755 --- a/core_modules/snes9x2010.hmod/bin/snes +++ b/core_modules/snes9x2010.hmod/bin/snes @@ -16,6 +16,8 @@ filebase=$(basename "$filename") extension="${filebase##*.}" if [ "$extension" == "sfrom" ]; then mkdir -p $tmppath + rm -f $tmppath/*.7z + rm -f $tmppath/*.bin dd if="$filename" of="$tmppath/$filebase.bin" bs=48 skip=1 filename=$tmppath/$filebase.bin fi diff --git a/retroarch.hmod/bin/retroarch-clover-child b/retroarch.hmod/bin/retroarch-clover-child index 6f1f856..2f82551 100755 --- a/retroarch.hmod/bin/retroarch-clover-child +++ b/retroarch.hmod/bin/retroarch-clover-child @@ -27,13 +27,15 @@ while [ $# -gt 0 ]; do [ "$1" == "--video-mode" ] && [ "$2" == "pixel-perfect" ] && filter=ppu [ "$1" == "--ra-extra" ] && extra=$2 [ "$1" == "--ra-nosaves" ] && nosaves=1 - [ "$1" == "--save-time-path" ] && timefile=$2 + [ "$1" == "--load-time-path" ] && timefile_load=$2 + [ "$1" == "--save-time-path" ] && timefile_save=$2 [ "$1" == "--replay-inputs" ] && demo=1 [ "$1" == "--decorative-frame-path" ] && frame=$2 shift done -[ -z "$timefile" ] && timefile=$load$t_suffix +[ -z "$timefile_save" ] && timefile_save=$load$t_suffix +[ -z "$timefile_load" ] && timefile_load=$load$t_suffix [ ! -z "$demo" ] && load=$(dirname $load)/savestate @@ -73,7 +75,7 @@ sed -i -e 's/overlay0_desc0_overlay = "[^"]*"/overlay0_desc0_overlay = "'$overla # Start timestamp ts=$(date +"%s") tm=0 -[ -f "$timefile" ] && tm=$(cat "$timefile") +[ -f "$timefile_load" ] && tm=$(cat "$timefile_load") retroarch -c "$HOME/retroarch.cfg" -vfL "$core" "$rom" $extra & rpid=$! @@ -160,7 +162,7 @@ fi # Time ts2=$(date +"%s") tm=$((tm + ts2 - ts)) -echo $tm > "$timefile" +echo $tm > "$timefile_save" grep "video_smooth =" /etc/libretro/retroarch.cfg | grep true && current_smooth=true || current_smooth=false echo $current_smooth > /etc/libretro/$filter.smooth diff --git a/retroarch.hmod/etc/libretro/gpu720.ratio b/retroarch.hmod/etc/libretro/gpu720.ratio index aabe6ec..2bd5a0a 100644 --- a/retroarch.hmod/etc/libretro/gpu720.ratio +++ b/retroarch.hmod/etc/libretro/gpu720.ratio @@ -1 +1 @@ -21 +22 diff --git a/retroarch.hmod/etc/libretro/retroarch.cfg b/retroarch.hmod/etc/libretro/retroarch.cfg index 6622d28..cddf98f 100644 --- a/retroarch.hmod/etc/libretro/retroarch.cfg +++ b/retroarch.hmod/etc/libretro/retroarch.cfg @@ -79,16 +79,16 @@ menu_thumbnails = "3" materialui_menu_color_theme = "0" menu_shader_pipeline = "1" audio_out_rate = "48000" -custom_viewport_width = "880" +custom_viewport_width = "896" custom_viewport_height = "672" -custom_viewport_x = "200" +custom_viewport_x = "192" custom_viewport_y = "24" content_history_size = "100" video_frame_delay = "0" video_max_swapchain_images = "3" video_swap_interval = "1" video_rotation = "0" -aspect_ratio_index = "14" +aspect_ratio_index = "22" state_slot = "0" bundle_assets_extract_version_current = "0" bundle_assets_extract_last_version = "0" @@ -177,7 +177,7 @@ video_allow_rotate = "true" video_windowed_fullscreen = "true" video_crop_overscan = "false" video_scale_integer = "false" -video_smooth = "false" +video_smooth = "true" video_force_aspect = "true" video_threaded = "false" video_shared_context = "false" -- cgit v1.2.3