Merge branch 'load-3dsx' of https://github.com/LiquidFenrir/Panda3DS into load-3dsx
This commit is contained in:
@@ -150,6 +150,7 @@ u32 Memory::read32(u32 vaddr) {
|
|||||||
return *(u32*)(pointer + offset);
|
return *(u32*)(pointer + offset);
|
||||||
} else {
|
} else {
|
||||||
switch (vaddr) {
|
switch (vaddr) {
|
||||||
|
case 0x1FF80000: return u32(kernelVersion) << 16;
|
||||||
case ConfigMem::Datetime0: return u32(timeSince3DSEpoch()); // ms elapsed since Jan 1 1900, bottom 32 bits
|
case ConfigMem::Datetime0: return u32(timeSince3DSEpoch()); // ms elapsed since Jan 1 1900, bottom 32 bits
|
||||||
case ConfigMem::Datetime0 + 4:
|
case ConfigMem::Datetime0 + 4:
|
||||||
return u32(timeSince3DSEpoch() >> 32); // top 32 bits
|
return u32(timeSince3DSEpoch() >> 32); // top 32 bits
|
||||||
|
|||||||
Reference in New Issue
Block a user