diff --git a/code_templates/nsp_dumper_stor.c b/code_templates/nsp_dumper_stor.c index 41d8989..3db2031 100644 --- a/code_templates/nsp_dumper_stor.c +++ b/code_templates/nsp_dumper_stor.c @@ -32,6 +32,8 @@ #define BLOCK_SIZE 0x800000 #define OUTPATH "/nsp/" +bool g_borealisInitialized = false; + static PadState g_padState = {0}; static const char *dump_type_strings[] = { diff --git a/code_templates/nsp_dumper_usb.c b/code_templates/nsp_dumper_usb.c index 141c20c..dd49927 100644 --- a/code_templates/nsp_dumper_usb.c +++ b/code_templates/nsp_dumper_usb.c @@ -31,6 +31,8 @@ #define BLOCK_SIZE 0x800000 +bool g_borealisInitialized = false; + static PadState g_padState = {0}; typedef struct diff --git a/code_templates/sd_romfs_dumper.c b/code_templates/sd_romfs_dumper.c index 7c08d3f..ca20f64 100644 --- a/code_templates/sd_romfs_dumper.c +++ b/code_templates/sd_romfs_dumper.c @@ -26,6 +26,8 @@ #define BLOCK_SIZE 0x800000 +bool g_borealisInitialized = false; + static PadState g_padState = {0}; static Mutex g_fileMutex = 0; diff --git a/code_templates/system_title_dumper.c b/code_templates/system_title_dumper.c index 3a93862..f3231cc 100644 --- a/code_templates/system_title_dumper.c +++ b/code_templates/system_title_dumper.c @@ -28,6 +28,8 @@ #define BLOCK_SIZE 0x800000 #define OUTPATH "sdmc:/systitle_dumps" +bool g_borealisInitialized = false; + static PadState g_padState = {0}; static u8 *buf = NULL; diff --git a/code_templates/usb_gc_dumper.c b/code_templates/usb_gc_dumper.c index 77b338a..694a59f 100644 --- a/code_templates/usb_gc_dumper.c +++ b/code_templates/usb_gc_dumper.c @@ -26,6 +26,8 @@ #define BLOCK_SIZE USB_TRANSFER_BUFFER_SIZE +bool g_borealisInitialized = false; + static PadState g_padState = {0}; /* Type definitions. */ diff --git a/code_templates/usb_romfs_dumper.c b/code_templates/usb_romfs_dumper.c index c973c6c..8d9184a 100644 --- a/code_templates/usb_romfs_dumper.c +++ b/code_templates/usb_romfs_dumper.c @@ -27,6 +27,8 @@ #define BLOCK_SIZE USB_TRANSFER_BUFFER_SIZE +bool g_borealisInitialized = false; + static PadState g_padState = {0}; static Mutex g_fileMutex = 0; diff --git a/code_templates/xml_generator.c b/code_templates/xml_generator.c index 5c86a0f..99effc9 100644 --- a/code_templates/xml_generator.c +++ b/code_templates/xml_generator.c @@ -27,6 +27,8 @@ #include "nacp.h" #include "legal_info.h" +bool g_borealisInitialized = false; + static PadState g_padState = {0}; static void utilsScanPads(void)