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:
commit
de8d2c7b10
2 changed files with 11 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue