mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-12 09:09:47 +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
|
// 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
|
// stack size + page-rounded size of the external handle table
|
||||||
case 2:
|
case 2:
|
||||||
// TODO
|
// FIXME
|
||||||
regs[1] = 0;
|
regs[1] = fcramManager.getUsedCount(FcramRegion::App);
|
||||||
regs[2] = 0;
|
regs[2] = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue