diff --git a/source/types.h b/source/types.h index 661c06d..703c34d 100644 --- a/source/types.h +++ b/source/types.h @@ -47,16 +47,14 @@ typedef volatile s64 vs64; #include "3dsheaders.h" -#define ARM11_CORE0_MAILBOX_ENTRYPOINT ((vu32 *)0x1FFFFFFC) - #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 CFG11_SOCINFO (*(vu32 *)0x10140FFC) -#define ISN3DS (PDN_MPCORE_CFG == 7) +#define ISN3DS (CFG11_SOCINFO & 2) #define ISDEVUNIT (CFG_UNITINFO != 0) typedef struct __attribute__((packed))