Skip to content

Commit

Permalink
Merge pull request #1146 from r3claimer/dev
Browse files Browse the repository at this point in the history
Final dolphin tweaks
  • Loading branch information
r3claimer authored Jan 14, 2025
2 parents 1fbdc76 + 6751e7e commit f3b38e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,16 +184,16 @@ fi
fi

# Internal Resolution
if [ "$IRES" = "2" ]; then
sed -i '/InternalResolution/c\InternalResolution = 2' /storage/.config/dolphin-emu/GFX.ini
if [ "$IRES" = "1" ]; then
sed -i '/InternalResolution/c\InternalResolution = 1' /storage/.config/dolphin-emu/GFX.ini
elif [ "$IRES" = "3" ]; then
sed -i '/InternalResolution/c\InternalResolution = 3' /storage/.config/dolphin-emu/GFX.ini
elif [ "$IRES" = "4" ]; then
sed -i '/InternalResolution/c\InternalResolution = 4' /storage/.config/dolphin-emu/GFX.ini
elif [ "$IRES" = "6" ]; then
sed -i '/InternalResolution/c\InternalResolution = 6' /storage/.config/dolphin-emu/GFX.ini
else
sed -i '/InternalResolution/c\InternalResolution = 1' /storage/.config/dolphin-emu/GFX.ini
sed -i '/InternalResolution/c\InternalResolution = 2' /storage/.config/dolphin-emu/GFX.ini
fi

# Shader Mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,16 @@ fi
fi

# Internal Resolution
if [ "$IRES" = "2" ]; then
sed -i '/InternalResolution/c\InternalResolution = 2' /storage/.config/dolphin-emu/GFX.ini
if [ "$IRES" = "1" ]; then
sed -i '/InternalResolution/c\InternalResolution = 1' /storage/.config/dolphin-emu/GFX.ini
elif [ "$IRES" = "3" ]; then
sed -i '/InternalResolution/c\InternalResolution = 3' /storage/.config/dolphin-emu/GFX.ini
elif [ "$IRES" = "4" ]; then
sed -i '/InternalResolution/c\InternalResolution = 4' /storage/.config/dolphin-emu/GFX.ini
elif [ "$IRES" = "6" ]; then
sed -i '/InternalResolution/c\InternalResolution = 6' /storage/.config/dolphin-emu/GFX.ini
else
sed -i '/InternalResolution/c\InternalResolution = 1' /storage/.config/dolphin-emu/GFX.ini
sed -i '/InternalResolution/c\InternalResolution = 2' /storage/.config/dolphin-emu/GFX.ini
fi

# Shader Mode
Expand Down Expand Up @@ -222,8 +222,6 @@ fi
cp -r /storage/.config/dolphin-emu/WiiControllerProfiles/hremote.ini /storage/.config/dolphin-emu/WiimoteNew.ini
elif [ "$CON" = "nunchuck" ]; then
cp -r /storage/.config/dolphin-emu/WiiControllerProfiles/nunchuck.ini /storage/.config/dolphin-emu/WiimoteNew.ini
elif [ "$CON" = "classic" ]; then
cp -r /storage/.config/dolphin-emu/WiiControllerProfiles/classic.ini /storage/.config/dolphin-emu/WiimoteNew.ini
elif [ "$CON" = "custom" ]; then
cp -r /storage/.config/dolphin-emu/WiiControllerProfiles/custom.ini /storage/.config/dolphin-emu/WiimoteNew.ini
else
Expand Down

0 comments on commit f3b38e5

Please sign in to comment.