mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
[Kernel/Memory] Implement DATETIME0
This commit is contained in:
parent
61212c9341
commit
4da023c236
3 changed files with 19 additions and 1 deletions
|
@ -6,6 +6,7 @@ namespace ConfigMem {
|
|||
enum : u32 {
|
||||
KernelVersionMinor = 0x1FF80002,
|
||||
KernelVersionMajor = 0x1FF80003,
|
||||
AppMemAlloc = 0x1FF80040
|
||||
AppMemAlloc = 0x1FF80040,
|
||||
Datetime0 = 0x1FF81020
|
||||
};
|
||||
}
|
|
@ -118,6 +118,7 @@ public:
|
|||
|
||||
u32 getLinearHeapVaddr();
|
||||
u8* getFCRAM() { return fcram; }
|
||||
u64 timeSince3DSEpoch();
|
||||
|
||||
// Returns whether "addr" is aligned to a page (4096 byte) boundary
|
||||
static constexpr bool isAligned(u32 addr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue