BIOS Backup directory is mandatory.
This commit is contained in:
parent
b446c3f2f8
commit
2c1dd78bb8
1 changed files with 6 additions and 0 deletions
|
@ -10,12 +10,18 @@
|
|||
ROM_DIR="/storage/roms/saturn/yabasanshiro"
|
||||
CONFIG_DIR="/storage/.config/game/configs/yabasanshiro"
|
||||
SOURCE_DIR="/usr/config/game/configs/yabasanshiro"
|
||||
BIOS_BACKUP="/storage/roms/bios/yabasanshiro"
|
||||
|
||||
if [ ! -d "${ROM_DIR}" ]
|
||||
then
|
||||
mkdir -p "${ROM_DIR}"
|
||||
fi
|
||||
|
||||
if [ ! -d "${BIOS_BACKUP}" ]
|
||||
then
|
||||
mkdir -p "${BIOS_BACKUP}"
|
||||
fi
|
||||
|
||||
if [ ! -e "${ROM_DIR}/${ROM_DIR}/input.cfg" ]
|
||||
then
|
||||
GAMEPAD=$(grep -b4 $(readlink ${DEVICE_CONTROLLER_DEV} | sed "s#^.*/##") /proc/bus/input/devices | awk 'BEGIN {FS="\""}; /Name/ {printf $2}')
|
||||
|
|
Loading…
Reference in a new issue