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:
parent
3f9cde8185
commit
cd300fe149
7 changed files with 14 additions and 0 deletions
|
@ -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[] = {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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. */
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue