mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-22 04:24:59 +00:00
Add PREV_FIRM
This commit is contained in:
parent
8742930e2d
commit
22ac1079d3
2 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ namespace ConfigMem {
|
|||
KernelVersionMajor = 0x1FF80003,
|
||||
SyscoreVer = 0x1FF80010,
|
||||
EnvInfo = 0x1FF80014,
|
||||
PrevFirm = 0x1FF80016,
|
||||
AppMemAlloc = 0x1FF80040,
|
||||
FirmUnknown = 0x1FF80060,
|
||||
FirmRevision = 0x1FF80061,
|
||||
|
|
|
@ -108,6 +108,7 @@ u8 Memory::read8(u32 vaddr) {
|
|||
return getBatteryState(chargerPlugged, charging, batteryLevel);
|
||||
}
|
||||
case ConfigMem::EnvInfo: return envInfo;
|
||||
case ConfigMem::PrevFirm: return 0;
|
||||
case ConfigMem::HardwareType: return ConfigMem::HardwareCodes::Product;
|
||||
case ConfigMem::KernelVersionMinor: return u8(kernelVersion & 0xff);
|
||||
case ConfigMem::KernelVersionMajor: return u8(kernelVersion >> 8);
|
||||
|
|
Loading…
Add table
Reference in a new issue