mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 06:05:40 +12:00
41 lines
986 B
C++
41 lines
986 B
C++
#pragma once
|
|
#include "helpers.hpp"
|
|
|
|
// Configuration memory addresses
|
|
namespace ConfigMem {
|
|
enum : u32 {
|
|
KernelVersionMinor = 0x1FF80002,
|
|
KernelVersionMajor = 0x1FF80003,
|
|
SyscoreVer = 0x1FF80010,
|
|
EnvInfo = 0x1FF80014,
|
|
PrevFirm = 0x1FF80016,
|
|
AppMemAlloc = 0x1FF80040,
|
|
FirmUnknown = 0x1FF80060,
|
|
FirmRevision = 0x1FF80061,
|
|
FirmVersionMinor = 0x1FF80062,
|
|
FirmVersionMajor = 0x1FF80063,
|
|
FirmSyscoreVer = 0x1FF80064,
|
|
FirmSdkVer = 0x1FF80068,
|
|
|
|
HardwareType = 0x1FF81004,
|
|
Datetime0 = 0x1FF81020,
|
|
WifiMac = 0x1FF81060,
|
|
WifiLevel = 0x1FF81066,
|
|
NetworkState = 0x1FF81067,
|
|
SliderState3D = 0x1FF81080,
|
|
LedState3D = 0x1FF81084,
|
|
BatteryState = 0x1FF81085,
|
|
Unknown1086 = 0x1FF81086,
|
|
HeadphonesConnectedMaybe = 0x1FF810C0 // TODO: What is actually stored here?
|
|
};
|
|
|
|
// Shows what type of hardware we're running on
|
|
namespace HardwareCodes {
|
|
enum : u8 {
|
|
Product = 1,
|
|
Devboard = 2,
|
|
Debugger = 3,
|
|
Capture = 4,
|
|
};
|
|
}
|
|
} // namespace ConfigMem
|