mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 22:25:41 +12:00
[Memory] Stub 3D state LED
This commit is contained in:
parent
85b7ebae6f
commit
35c4590104
2 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,7 @@ namespace ConfigMem {
|
|||
KernelVersionMinor = 0x1FF80002,
|
||||
KernelVersionMajor = 0x1FF80003,
|
||||
AppMemAlloc = 0x1FF80040,
|
||||
Datetime0 = 0x1FF81020
|
||||
Datetime0 = 0x1FF81020,
|
||||
LedState3D = 0x1FF81084
|
||||
};
|
||||
}
|
|
@ -76,6 +76,7 @@ u8 Memory::read8(u32 vaddr) {
|
|||
switch (vaddr) {
|
||||
case ConfigMem::KernelVersionMinor: return u8(kernelVersion & 0xff);
|
||||
case ConfigMem::KernelVersionMajor: return u8(kernelVersion >> 8);
|
||||
case ConfigMem::LedState3D: return 1; // Report the 3D LED as always off (non-zero) for now
|
||||
default: Helpers::panic("Unimplemented 8-bit read, addr: %08X", vaddr);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue