mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-04 04:47:22 +12:00
[CFG] Add GetSystemModel
This commit is contained in:
parent
3b98b6bd03
commit
aa1cfa7add
3 changed files with 25 additions and 0 deletions
|
@ -16,6 +16,7 @@ class CFGService {
|
|||
// Service functions
|
||||
void getConfigInfoBlk2(u32 messagePointer);
|
||||
void getRegionCanadaUSA(u32 messagePointer);
|
||||
void getSystemModel(u32 messagePointer);
|
||||
void genUniqueConsoleHash(u32 messagePointer);
|
||||
void secureInfoGetRegion(u32 messagePointer);
|
||||
|
||||
|
|
23
include/system_models.hpp
Normal file
23
include/system_models.hpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
#pragma once
|
||||
#include <cstdint>
|
||||
|
||||
// Codes for every 3DS system model
|
||||
// The 3-letter codes are codenames used by the ACT service, and can also be found on the hardware itself
|
||||
// This info can be retrieved in a variety of ways, usually through CFG::GetSystemModel
|
||||
namespace SystemModel {
|
||||
enum : std::uint32_t {
|
||||
Nintendo3DS = 0,
|
||||
Nintendo3DS_XL = 1,
|
||||
NewNintendo3DS = 2,
|
||||
Nintendo2DS = 3,
|
||||
NewNintendo3DS_XL = 4,
|
||||
NewNintendo2DS_XL = 5,
|
||||
|
||||
CTR = Nintendo3DS,
|
||||
SPR = Nintendo3DS_XL,
|
||||
KTR = NewNintendo3DS,
|
||||
FTR = Nintendo2DS,
|
||||
RED = NewNintendo3DS_XL,
|
||||
JAN = NewNintendo2DS_XL
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue