mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-06 11:01:38 +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
|
@ -124,6 +124,10 @@ class Memory {
|
|||
std::optional<u32> findPaddr(u32 size);
|
||||
u64 timeSince3DSEpoch();
|
||||
|
||||
// https://www.3dbrew.org/wiki/Configuration_Memory#ENVINFO
|
||||
// Report a retail unit without JTAG
|
||||
static constexpr u32 envInfo = 1;
|
||||
|
||||
public:
|
||||
u16 kernelVersion = 0;
|
||||
u32 usedUserMemory = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue