Cfg:SecureInfoGetRegion: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00020000] |} =Response= {| class="wikitable" border="1" |- ! Index Word ! Des..."
 
Peachy (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 6: Line 6:
|-
|-
| 0
| 0
| Header code [0x00020000]
| Header code [0x00020000] (Alternate headers: "cfg:s"/"cfg:i" = 0x04060000, "cfg:i" = 0x08160000)
|}
|}


Line 22: Line 22:
|-
|-
| 2
| 2
| u8 region value loaded from [[Nandrw/sys/SecureInfo_A|SecureInfo]] offset 0x100.
| u8 region value loaded from [[Nandrw/sys/SecureInfo_A|SecureInfo]] offset 0x100, from the already-loaded SecureInfo buffer.
|}
|}
In addition to the region lock enforced by Home Menu, some 3DS software will use this function to enforce additional region-lock in case you use an alternate launcher. As such, region spoofing is often necessary

Latest revision as of 18:02, 13 August 2023

Request

Index Word Description
0 Header code [0x00020000] (Alternate headers: "cfg:s"/"cfg:i" = 0x04060000, "cfg:i" = 0x08160000)

Response

Index Word Description
0 Header code
1 Result code
2 u8 region value loaded from SecureInfo offset 0x100, from the already-loaded SecureInfo buffer.

In addition to the region lock enforced by Home Menu, some 3DS software will use this function to enforce additional region-lock in case you use an alternate launcher. As such, region spoofing is often necessary