Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Amiberry for x86 platforms as well (fixes #3937) #3938

Merged
merged 2 commits into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scriptmodules/emulators/amiberry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rp_module_help="ROM Extension: .adf .chd .ipf .lha .zip\n\nCopy your Amiga games
rp_module_licence="GPL3 https://raw.githubusercontent.com/BlitterStudio/amiberry/master/LICENSE"
rp_module_repo="git https://github.com/BlitterStudio/amiberry :_get_branch_amiberry"
rp_module_section="opt"
rp_module_flags="!all arm rpi3 rpi4 rpi5"
rp_module_flags="!all arm rpi3 rpi4 rpi5 x86"

function _update_hook_amiberry() {
local rom
Expand All @@ -31,6 +31,8 @@ function _update_hook_amiberry() {
function _get_branch_amiberry() {
if isPlatform "dispmanx"; then
echo "v5.7.1"
elif isPlatform "x86"; then
echo "v6.3.3"
else
echo "v5.7.2"
fi
Expand All @@ -50,6 +52,8 @@ function _get_platform_amiberry() {
platform="tinker"
elif isPlatform "vero4k"; then
platform="vero4k"
elif isPlatform "x86"; then
platform="x86-64"
fi
echo "$platform"
}
Expand Down