mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 14:45:41 +12:00
Kernel: Report used app memory for GetProcessInfo 2
Not really correct, but it should be accurate for applications at least
This commit is contained in:
parent
c2fd59ff6f
commit
3d66239851
1 changed files with 2 additions and 2 deletions
|
@ -266,8 +266,8 @@ void Kernel::getProcessInfo() {
|
|||
// According to 3DBrew: Amount of private (code, data, heap) memory used by the process + total supervisor-mode
|
||||
// stack size + page-rounded size of the external handle table
|
||||
case 2:
|
||||
// TODO
|
||||
regs[1] = 0;
|
||||
// FIXME
|
||||
regs[1] = fcramManager.getUsedCount(FcramRegion::App);
|
||||
regs[2] = 0;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue