From 5040f6ec930bd7591c9d986e99b2e71051bd55e1 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Mon, 13 Mar 2023 02:15:48 +0000 Subject: [PATCH] Fix calling deploy,bat for multiple deployments --- deploy.bat | 8 +++----- src/main.c | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/deploy.bat b/deploy.bat index f774842e..63e6dbc4 100644 --- a/deploy.bat +++ b/deploy.bat @@ -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: diff --git a/src/main.c b/src/main.c index 5640631c..b09e481e 100644 --- a/src/main.c +++ b/src/main.c @@ -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");