1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-26 20:22:17 +00:00

Fix PoC building.

This commit is contained in:
Pablo Curiel 2021-09-04 00:17:17 -04:00
parent 3f9cde8185
commit cd300fe149
7 changed files with 14 additions and 0 deletions

View file

@ -32,6 +32,8 @@
#define BLOCK_SIZE 0x800000 #define BLOCK_SIZE 0x800000
#define OUTPATH "/nsp/" #define OUTPATH "/nsp/"
bool g_borealisInitialized = false;
static PadState g_padState = {0}; static PadState g_padState = {0};
static const char *dump_type_strings[] = { static const char *dump_type_strings[] = {

View file

@ -31,6 +31,8 @@
#define BLOCK_SIZE 0x800000 #define BLOCK_SIZE 0x800000
bool g_borealisInitialized = false;
static PadState g_padState = {0}; static PadState g_padState = {0};
typedef struct typedef struct

View file

@ -26,6 +26,8 @@
#define BLOCK_SIZE 0x800000 #define BLOCK_SIZE 0x800000
bool g_borealisInitialized = false;
static PadState g_padState = {0}; static PadState g_padState = {0};
static Mutex g_fileMutex = 0; static Mutex g_fileMutex = 0;

View file

@ -28,6 +28,8 @@
#define BLOCK_SIZE 0x800000 #define BLOCK_SIZE 0x800000
#define OUTPATH "sdmc:/systitle_dumps" #define OUTPATH "sdmc:/systitle_dumps"
bool g_borealisInitialized = false;
static PadState g_padState = {0}; static PadState g_padState = {0};
static u8 *buf = NULL; static u8 *buf = NULL;

View file

@ -26,6 +26,8 @@
#define BLOCK_SIZE USB_TRANSFER_BUFFER_SIZE #define BLOCK_SIZE USB_TRANSFER_BUFFER_SIZE
bool g_borealisInitialized = false;
static PadState g_padState = {0}; static PadState g_padState = {0};
/* Type definitions. */ /* Type definitions. */

View file

@ -27,6 +27,8 @@
#define BLOCK_SIZE USB_TRANSFER_BUFFER_SIZE #define BLOCK_SIZE USB_TRANSFER_BUFFER_SIZE
bool g_borealisInitialized = false;
static PadState g_padState = {0}; static PadState g_padState = {0};
static Mutex g_fileMutex = 0; static Mutex g_fileMutex = 0;

View file

@ -27,6 +27,8 @@
#include "nacp.h" #include "nacp.h"
#include "legal_info.h" #include "legal_info.h"
bool g_borealisInitialized = false;
static PadState g_padState = {0}; static PadState g_padState = {0};
static void utilsScanPads(void) static void utilsScanPads(void)