Skip to content

Commit 8690687

Browse files
committed
Update Amiberry to 5.5.1
1 parent f74b8fd commit 8690687

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

scriptmodules/emulators/amiberry.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rp_module_id="amiberry"
1313
rp_module_desc="Amiga emulator with JIT support (forked from uae4arm)"
1414
rp_module_help="ROM Extension: .adf .chd .ipf .lha .zip\n\nCopy your Amiga games to $romdir/amiga\n\nCopy the required BIOS files\nkick13.rom\nkick20.rom\nkick31.rom\nto $biosdir/amiga"
1515
rp_module_licence="GPL3 https://raw.githubusercontent.com/BlitterStudio/amiberry/master/LICENSE"
16-
rp_module_repo="git https://github.com/BlitterStudio/amiberry v5.4"
16+
rp_module_repo="git https://github.com/BlitterStudio/amiberry v5.5.1"
1717
rp_module_section="opt"
1818
rp_module_flags="!all arm rpi3 rpi4"
1919

@@ -106,12 +106,14 @@ function configure_amiberry() {
106106

107107
# move config / save folders to $md_conf_root/amiga/amiberry
108108
local dir
109-
for dir in conf savestates screenshots; do
109+
for dir in conf nvram savestates screenshots; do
110110
moveConfigDir "$md_inst/$dir" "$md_conf_root/amiga/amiberry/$dir"
111111
done
112112

113-
# symlink cd32.nvr from $md_inst/data to "$md_conf_root/amiga/amiberry
114-
moveConfigFile "$md_inst/data/cd32.nvr" "$md_conf_root/amiga/amiberry/cd32.nvr"
113+
# check for cd32.nvr and move it to $md_conf_root/amiga/amiberry/nvram
114+
if [[ -f "$md_conf_root/amiga/amiberry/cd32.nvr" ]]; then
115+
mv "$md_conf_root/amiga/amiberry/cd32.nvr" "$md_conf_root/amiga/amiberry/nvram/"
116+
fi
115117

116118
moveConfigDir "$md_inst/kickstarts" "$biosdir/amiga"
117119
chown -R $user:$user "$biosdir/amiga"

0 commit comments

Comments
 (0)