gc_n64_usb-v3/scripts/enter_bootloader.sh

11 lines
263 B
Bash
Executable File

#!/bin/bash
TOOL=./tools/gcn64ctl
if [ -x $TOOL ]; then
$TOOL -f --bootloader
exit 0 # The tool fails, but we should continue anyway in case the chip is already in bootloader
else
echo $TOOL not found. Please compile it to enter bootloader automatically.
fi