diff --git a/source/types.h b/source/types.h index 8d7ef44..44b4b00 100644 --- a/source/types.h +++ b/source/types.h @@ -49,14 +49,12 @@ typedef volatile s64 vs64; #define ARM11_CORE0_MAILBOX_ENTRYPOINT *(vu32 *)0x1FFFFFFC -#define CFG_SYSPROT9 (*(vu8 *)0x10000000) #define CFG_BOOTENV (*(vu32 *)0x10010000) #define CFG_UNITINFO (*(vu8 *)0x10010010) #define CFG_TWLUNITINFO (*(vu8 *)0x10010014) #define OTP_DEVCONSOLEID (*(vu64 *)0x10012000) #define OTP_TWLCONSOLEID (*(vu64 *)0x10012100) #define PDN_MPCORE_CFG (*(vu32 *)0x10140FFC) -#define PDN_SPI_CNT (*(vu32 *)0x101401C0) #define ISN3DS (PDN_MPCORE_CFG == 7) #define ISDEVUNIT (CFG_UNITINFO != 0) @@ -112,6 +110,7 @@ typedef enum FirmwareType NATIVE_FIRM1X2X } FirmwareType; +extern bool isFirmlaunch; extern u16 launchedFirmTidLow[8]; extern u16 launchedPath[41]; -extern bool isFirmlaunch; +