11cb17b3cf
* Create package.mk * Create 01-EmuELEC-fix-arm-compile.patch * Rename packages/games/emulators/flycastsa/patches/01-EmuELEC-fix-arm-compile.patch to packages/games/emulators/flycastsa/patches/arm/01-EmuELEC-fix-arm-compile.patch * Create 03-EmuELEC-fix-sdl-controller.patch * Rename packages/games/emulators/flycastsa/patches/arm/03-EmuELEC-fix-sdl-controller.patch to packages/games/emulators/flycastsa/patches/03-EmuELEC-fix-sdl-controller.patch * Create flycast.sh * Create set_flycast_joy.sh * Update package.mk * Update package.mk * No longer need second patch. * Update 01-EmuELEC-fix-arm-compile.patch * Delete packages/games/emulators/flycastsa/patches/arm directory * Update package.mk * Create 01-fix-zip.patch * Update 01-fix-zip.patch * Update 01-fix-zip.patch * Delete packages/games/emulators/flycastsa/patches/arm directory * Update package.mk * Update runemu.sh * Create 01-platform.patch * Update 03-EmuELEC-fix-sdl-controller.patch * Update package.mk * Update 03-EmuELEC-fix-sdl-controller.patch * Update 03-EmuELEC-fix-sdl-controller.patch * Update 03-EmuELEC-fix-sdl-controller.patch * Rename 03-EmuELEC-fix-sdl-controller.patch to 03-fix-sdl-controller.patch * Create 01-fix-zip-error.patch * Update 01-fix-zip-error.patch * Update 01-fix-zip-error.patch * Update package.mk * Delete 01-fix-zip-error.patch * flycastsa updates * flycastsa update2
23 lines
609 B
Bash
23 lines
609 B
Bash
#!/bin/bash
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2021-present Shanti Gilbert (https://github.com/shantigilbert)
|
|
|
|
# Source predefined functions and variables
|
|
. /etc/profile
|
|
|
|
mkdir -p "/storage/.local/share/"
|
|
|
|
if [ ! -L "/storage/.local/share/flycast" ]; then
|
|
mkdir -p "/storage/roms/bios/dc"
|
|
rm -rf "/storage/.local/share/flycast"
|
|
ln -sf "/storage/roms/bios/dc" "/storage/.local/share/flycast"
|
|
fi
|
|
|
|
AUTOGP=$(get_ee_setting flycast_auto_gamepad)
|
|
if [[ "${AUTOGP}" != "0" ]]; then
|
|
mkdir -p "/storage/.config/flycast/mappings"
|
|
/usr/bin/set_flycast_joy.sh
|
|
fi
|
|
|
|
flycast "${1}"
|