Skip to content

Commit c8f7560

Browse files
committed
mGBA: fix mGBAUserInput
1 parent 1794349 commit c8f7560

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/update.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ if test -f /usr/local/bin/melonDS; then
3939
MelonDSUserInput="$output"
4040
fi
4141

42-
MGBAUserInput="no"
42+
mGBAUserInput="no"
4343
if test -f /usr/local/bin/mGBA; then
4444
description="Do you want to update mGBA? (May take 5 to 20 minutes)"
4545
table=("yes" "no")
4646
userinput_func "$description" "${table[@]}"
47-
MGBAUserInput="$output"
47+
mGBAUserInput="$output"
4848
fi
4949

5050
MetaforceUserInput="no"
@@ -281,7 +281,7 @@ else
281281
echo "Skipping melonDS update..."
282282
fi
283283

284-
if [[ $GBAUserInput == "yes" ]]; then
284+
if [[ $mGBAUserInput == "yes" ]]; then
285285
echo "Updating mGBA..."
286286
sleep 5
287287
bash -c "$(curl -s https://raw.githubusercontent.com/$repository_username/L4T-Megascript/$repository_branch/scripts/games_and_emulators/mGBA.sh)" || exit $?

0 commit comments

Comments
 (0)