Fix calling deploy,bat for multiple deployments

This commit is contained in:
Robin Jones 2023-03-13 02:15:48 +00:00
parent 1360273f4d
commit 5040f6ec93
2 changed files with 4 additions and 5 deletions

View File

@ -1,20 +1,18 @@
@echo off
cd %~dp0tools\sc64\
:: Make sure we are connected
echo Detecting SC64...
sc64deployer list
%~dp0tools\sc64\sc64deployer list
:: Get the information
echo SC64 info...
sc64deployer info
%~dp0tools\sc64\sc64deployer info
echo:
echo:
:: Load the ROM
echo Loading ROM...
sc64deployer upload %~dp0output\N64FlashcartMenu.z64
%~dp0tools\sc64\sc64deployer upload %~dp0output\N64FlashcartMenu.z64
echo:
echo:

View File

@ -11,6 +11,7 @@
static void init (void) {
assertf(usb_initialize() != CART_NONE, "No flashcart was detected");
debug_init_usblog();
assertf(debug_init_sdfs("sd:/", -1), "Couldn't initialize SD card");
flashcart_error_t error = flashcart_init();
assertf(error != FLASHCART_ERROR_OUTDATED, "Outdated flashcart firmware");