config: move externs into header

This commit is contained in:
CTCaer
2025-08-08 15:03:56 +03:00
committed by NaGa
parent d13088f177
commit 48b2f20c88
21 changed files with 7 additions and 37 deletions

View File

@@ -31,8 +31,6 @@
#include "../storage/emusd.h"
#include <storage/boot_storage.h>
extern hekate_config h_cfg;
//#define DPRINTF(...) gfx_printf(__VA_ARGS__)
#define DPRINTF(...)

View File

@@ -29,8 +29,6 @@
#include "../config.h"
#include <libs/compr/lz4.h>
extern hekate_config h_cfg;
// Secmon package2 signature/hash checks patches for Erista.
#define SM_100_ADR 0x4002B020 // Original: 0x40014020.
PATCHSET_DEF(_secmon_1_patchset,

View File

@@ -33,7 +33,6 @@
//#define DPRINTF(...) gfx_printf(__VA_ARGS__)
#define DPRINTF(...)
extern hekate_config h_cfg;
extern const u8 package2_keyseed[];
u32 pkg2_newkern_ini1_info;

View File

@@ -31,8 +31,6 @@
//#define DPRINTF(...) gfx_printf(__VA_ARGS__)
#define DPRINTF(...)
extern hekate_config h_cfg;
extern bool is_ipl_updated(void *buf, const char *path, bool force);
#define PKG3_KIP_SKIP_MAX 16

View File

@@ -26,8 +26,6 @@
#include "../storage/emummc.h"
#include "../storage/emusd.h"
extern hekate_config h_cfg;
enum emuMMC_Type
{
EmummcType_None = 0,