mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
parent
398c7fd14c
commit
3e25393284
@ -3,7 +3,7 @@
|
||||
#include "common.h"
|
||||
|
||||
// see: https://3dbrew.org/wiki/CONFIG11_Registers
|
||||
#define IS_O3DS ((*(vu32*) 0x10140FFC) != 0x7)
|
||||
#define IS_O3DS (((*(vu16*) 0x10140FFC) & 2) == 0)
|
||||
|
||||
// see: https://www.3dbrew.org/wiki/Memory_layout#ARM9_ITCM
|
||||
// see: https://www.3dbrew.org/wiki/OTP_Registers#Plaintext_OTP
|
||||
|
@ -37,7 +37,7 @@ typedef struct {
|
||||
u8 region;
|
||||
u8 unknown;
|
||||
char serial[0xF];
|
||||
} PACKED_STRUCT SecureInfo;
|
||||
} PACKED_ALIGN(1) SecureInfo;
|
||||
|
||||
// includes all essential system files
|
||||
// (this is of our own making)
|
||||
|
Loading…
x
Reference in New Issue
Block a user