From 87d3b45bb4467b049fc0669a314c456bf5c77434 Mon Sep 17 00:00:00 2001 From: Eamonn Rea Date: Sat, 31 Aug 2024 04:43:33 +0100 Subject: [PATCH] GameScope: Correct GSINTRES width and height parsing Messed up the casing, jeez... I need more coffee. --- steamtinkerlaunch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 95c7e76d..7e0f94ef 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -11351,8 +11351,8 @@ function setGameScopeVars { # GameScope Internal Resolution (corresponds to -w, -h options, lowercase) -- Resolution that games see (defaults to 1280x720) -- Dropdown # Although this is a combobox, we still use "num" as the `getGameScopeArg` type because we want numeric validation - GSINTRESARGWIDTH="$( getGameScopeArg "$GAMESCOPE_ARGS" "-W" "$GSINTRESARGWIDTH" "" "1280" "num")" - GSINTRESARGHEIGHT="$( getGameScopeArg "$GAMESCOPE_ARGS" "-H" "$GSINTRESARGHEIGHT" "" "720" "num")" + GSINTRESARGWIDTH="$( getGameScopeArg "$GAMESCOPE_ARGS" "-w" "$GSINTRESARGWIDTH" "" "1280" "num")" + GSINTRESARGHEIGHT="$( getGameScopeArg "$GAMESCOPE_ARGS" "-h" "$GSINTRESARGHEIGHT" "" "720" "num")" GSINTRES="${GSINTRESARGWIDTH}x${GSINTRESARGHEIGHT}"