mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-05 18:41:39 +12:00
[HID] Implement some extra service calls. [CFG] Add language checking.
This commit is contained in:
parent
2a4709dcfa
commit
d395fcd3cc
6 changed files with 86 additions and 6 deletions
42
include/services/region_codes.hpp
Normal file
42
include/services/region_codes.hpp
Normal file
|
@ -0,0 +1,42 @@
|
|||
#pragma once
|
||||
#include "helpers.hpp"
|
||||
|
||||
// Used for CFG::SecureInfoGetRegion
|
||||
enum class Regions : u32 {
|
||||
Japan = 0,
|
||||
USA = 1,
|
||||
Europe = 2,
|
||||
Australia = 3,
|
||||
China = 4,
|
||||
Korea = 5,
|
||||
Taiwan = 6
|
||||
};
|
||||
|
||||
// Used for the language field in the NAND user data
|
||||
enum class LanguageCodes : u32 {
|
||||
JP = 0,
|
||||
EN = 1,
|
||||
FR = 2,
|
||||
DE = 3,
|
||||
IT = 4,
|
||||
ES = 5,
|
||||
ZH = 6,
|
||||
KO = 7,
|
||||
NL = 8,
|
||||
PT = 9,
|
||||
RU = 10,
|
||||
TW = 11,
|
||||
|
||||
Japanese = JP,
|
||||
English = EN,
|
||||
French = FR,
|
||||
German = DE,
|
||||
Italian = IT,
|
||||
Spanish = ES,
|
||||
Chinese = ZH,
|
||||
Korean = KO,
|
||||
Dutch = NL,
|
||||
Portuguese = PT,
|
||||
Russian = RU,
|
||||
Taiwanese = TW
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue