mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 09:05:42 +00:00
Add Primehack defaults and option
in patch engine
This commit is contained in:
parent
76f8dec0a7
commit
ae82768621
|
@ -200,7 +200,7 @@ set_setting_value() {
|
|||
fi
|
||||
;;
|
||||
|
||||
"dolphin" | "duckstation" | "pcsx2" | "ppsspp" | "xemu" )
|
||||
"dolphin" | "duckstation" | "pcsx2" | "ppsspp" | "primehack" | "xemu" )
|
||||
if [[ -z $current_section_name ]]; then
|
||||
sed -i 's^'"$setting_name_to_change"' =.*^'"$setting_name_to_change"' = '"$setting_value_to_change"'^' $1
|
||||
else
|
||||
|
@ -271,7 +271,7 @@ get_setting_value() {
|
|||
fi
|
||||
;;
|
||||
|
||||
"dolphin" | "duckstation" | "pcsx2" | "ppsspp" | "xemu" ) # For files with this syntax - setting_name = setting_value
|
||||
"dolphin" | "duckstation" | "pcsx2" | "ppsspp" | "primehack" | "xemu" ) # For files with this syntax - setting_name = setting_value
|
||||
if [[ -z $current_section_name ]]; then
|
||||
echo $(grep -o -P "(?<=^$current_setting_name = ).*" $1)
|
||||
else
|
||||
|
|
|
@ -54,6 +54,14 @@ pcsx2vmconf="/var/config/PCSX2/inis/PCSX2_vm.ini"
|
|||
|
||||
pcsx2qtconf="/var/config/PCSX2/inis/PCSX2.ini"
|
||||
|
||||
# Primehack config files
|
||||
|
||||
primehackconf="/var/config/primehack/Dolphin.ini"
|
||||
primehackgcpadconf="/var/config/primehack/GCPadNew.ini"
|
||||
primehackgfxconf="/var/config/primehack/GFX.ini"
|
||||
primehackhkconf="/var/config/primehack/Hotkeys.ini"
|
||||
primehackqtconf="/var/config/primehack/Qt.ini"
|
||||
|
||||
# We moved the lockfile in /var/config/retrodeck in order to solve issue #53 - Remove in a few versions
|
||||
if [ -f "$HOME/retrodeck/.lock" ]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue