Merge pull request #1552 from brooksytech/dev

Fix bug where Dolphin-sa controls dont work if no profile is selected.
This commit is contained in:
Brooksytech 2023-06-11 06:58:59 -07:00 committed by GitHub
commit de8d2c7b10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -11,6 +11,11 @@ if [ ! -d "/storage/.config/dolphin-emu" ]; then
cp -r "/usr/config/dolphin-emu" "/storage/.config/"
fi
#Check if GC controller profile exists in .config/dolphin-emu
if [ ! -f "/storage/.config/dolphin-emu/GCPadNew.ini" ]; then
cp -r /usr/config/dolphin-emu/GCPadNew.ini.south /storage/.config/dolphin-emu/GCPadNew.ini
fi
#Check if GC custom controller profile exists in .config/dolphin-emu
if [ ! -f "/storage/.config/dolphin-emu/Custom_GCPadNew.ini" ]; then
cp -r "/usr/config/dolphin-emu/GCPadNew.ini.south" "/storage/.config/dolphin-emu/Custom_GCPadNew.ini"

View file

@ -11,13 +11,18 @@ if [ ! -d "/storage/.config/dolphin-emu" ]; then
cp -r "/usr/config/dolphin-emu" "/storage/.config/"
fi
#Check if Wii controller profile exists in .config/dolphin-emu
if [ ! -f "/storage/.config/dolphin-emu/WiimoteNew.ini" ]; then
cp -r "/usr/config/dolphin-emu/WiiControllerProfiles/vremote.ini" "/storage/.config/dolphin-emu/WiimoteNew.ini"
fi
#Check if Wii custom controller profile exists in .config/dolphin-emu
if [ ! -f "/storage/.config/dolphin-emu/Custom_WiimoteNew.ini" ]; then
cp -r "/usr/config/dolphin-emu/WiiControllerProfiles/remote.ini" "/storage/.config/dolphin-emu/Custom_WiimoteNew.ini"
fi
#Gamecube controller profile needed for hotkeys to work
cp -r "/usr/config/dolphin-emu/GCPadNew.ini" "/storage/.config/dolphin-emu/GCPadNew.ini"
cp -r "/usr/config/dolphin-emu/GCPadNew.ini.south" "/storage/.config/dolphin-emu/GCPadNew.ini"
#Link Save States to /roms/savestates/wii
if [ ! -d "/storage/roms/savestates/wii/" ]; then