mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-25 12:06:54 +01:00
Fix calling deploy,bat for multiple deployments
This commit is contained in:
parent
1360273f4d
commit
5040f6ec93
@ -1,20 +1,18 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
cd %~dp0tools\sc64\
|
|
||||||
|
|
||||||
:: Make sure we are connected
|
:: Make sure we are connected
|
||||||
echo Detecting SC64...
|
echo Detecting SC64...
|
||||||
sc64deployer list
|
%~dp0tools\sc64\sc64deployer list
|
||||||
|
|
||||||
:: Get the information
|
:: Get the information
|
||||||
echo SC64 info...
|
echo SC64 info...
|
||||||
sc64deployer info
|
%~dp0tools\sc64\sc64deployer info
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
:: Load the ROM
|
:: Load the ROM
|
||||||
echo Loading ROM...
|
echo Loading ROM...
|
||||||
sc64deployer upload %~dp0output\N64FlashcartMenu.z64
|
%~dp0tools\sc64\sc64deployer upload %~dp0output\N64FlashcartMenu.z64
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
static void init (void) {
|
static void init (void) {
|
||||||
assertf(usb_initialize() != CART_NONE, "No flashcart was detected");
|
assertf(usb_initialize() != CART_NONE, "No flashcart was detected");
|
||||||
|
debug_init_usblog();
|
||||||
assertf(debug_init_sdfs("sd:/", -1), "Couldn't initialize SD card");
|
assertf(debug_init_sdfs("sd:/", -1), "Couldn't initialize SD card");
|
||||||
flashcart_error_t error = flashcart_init();
|
flashcart_error_t error = flashcart_init();
|
||||||
assertf(error != FLASHCART_ERROR_OUTDATED, "Outdated flashcart firmware");
|
assertf(error != FLASHCART_ERROR_OUTDATED, "Outdated flashcart firmware");
|
||||||
|
Loading…
Reference in New Issue
Block a user