mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-05 23:02:58 +12:00
[FS/Memory] Add ENVINFO and some FS calls for Metroid 2
This commit is contained in:
parent
ec26631e5d
commit
015343a848
5 changed files with 45 additions and 2 deletions
|
@ -74,6 +74,7 @@ u8 Memory::read8(u32 vaddr) {
|
|||
}
|
||||
else {
|
||||
switch (vaddr) {
|
||||
case ConfigMem::EnvInfo: return envInfo;
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue