daphne: support the new zipped Singe ROMs

This will allow support for the new zipped Singe ROMs.
This commit is contained in:
DirtBagXon 2024-04-02 19:30:02 +01:00 committed by GitHub
parent 5412ef4b98
commit 5fa86e87b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,11 +86,16 @@ if [[ -f "\$dir/\$name.commands" ]]; then
fi
if [[ -f "\$dir/\$name.singe" ]]; then
"$md_inst/hypseus.bin" singe vldp -retropath -manymouse -script "\$dir/\$name.singe" $common_args
singerom="\$dir/\$name.singe"
elif [[ -f "\$dir/\$name.zip" ]]; then
singerom="\$dir/\$name.zip"
fi
if [[ -n "\$singerom" ]]; then
"$md_inst/hypseus.bin" singe vldp -retropath -manymouse -script "\$singerom" $common_args
else
"$md_inst/hypseus.bin" "\$name" vldp $common_args
fi
_EOF_
chmod +x "$md_inst/hypseus.sh"
mkdir -p "$md_inst/framefile"
}