From e588f9c455a3fb9e647255e95070b497d82eea7c Mon Sep 17 00:00:00 2001 From: icenine451 Date: Thu, 27 Oct 2022 16:51:37 -0400 Subject: [PATCH] Minor cleanups --- emu-configs/defaults/dolphin/GCPadNew.ini | 3 ++- emu-configs/xemu.toml | 3 +-- functions.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/emu-configs/defaults/dolphin/GCPadNew.ini b/emu-configs/defaults/dolphin/GCPadNew.ini index 4157abb6..1d817ebe 100644 --- a/emu-configs/defaults/dolphin/GCPadNew.ini +++ b/emu-configs/defaults/dolphin/GCPadNew.ini @@ -26,6 +26,7 @@ D-Pad/Up = `T` D-Pad/Down = `G` D-Pad/Left = `F` D-Pad/Right = `H` +Rumble/Motor = Strong [GCPad2] Device = XInput2/0/Virtual core pointer Main Stick/Modifier/Range = 50.0 @@ -37,4 +38,4 @@ C-Stick/Modifier/Range = 50.0 [GCPad4] Device = XInput2/0/Virtual core pointer Main Stick/Modifier/Range = 50.0 -C-Stick/Modifier/Range = 50.0 +C-Stick/Modifier/Range = 50.0 \ No newline at end of file diff --git a/emu-configs/xemu.toml b/emu-configs/xemu.toml index 1c119bd3..fb196502 100644 --- a/emu-configs/xemu.toml +++ b/emu-configs/xemu.toml @@ -26,5 +26,4 @@ mem_limit = '128' bootrom_path = '/home/deck/retrodeck/bios/mcpx_1.0.bin' flashrom_path = '/home/deck/retrodeck/bios/Complex.bin' eeprom_path = '/home/deck/retrodeck/saves/xbox/xemu/xbox-eeprom.bin' -hdd_path = '/home/deck/retrodeck/bios/xbox_hdd.qcow2' - +hdd_path = '/home/deck/retrodeck/bios/xbox_hdd.qcow2' \ No newline at end of file diff --git a/functions.sh b/functions.sh index 00928d10..b8ab515f 100644 --- a/functions.sh +++ b/functions.sh @@ -175,7 +175,7 @@ get_setting_name() { "yuzu" ) # Use quotes when passing setting_name, as this config file contains special characters yuzu_setting_name=$(sed -e 's%\\%\\\\%g' <<< "$1") # Accomodate for backslashes in setting names - echo '$yuzu_setting_name' | grep -o -P ".*(?=\=)" | sed -e 's%\\\\%\\%g' + echo "$yuzu_setting_name" | grep -o -P ".*(?=\=)" | sed -e 's%\\\\%\\%g' ;; "citra" ) # Use quotes when passing setting_name, as this config file contains special characters