mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 01:39:19 +01:00
Use the heap size rather than the heap address when calculating the
total memory usage Without this fix allocations are broken in Puyo Puyo Tetris.
This commit is contained in:
parent
f1a28f7a1c
commit
2f8a217204
@ -664,7 +664,7 @@ namespace skyline::kernel::svc {
|
||||
break;
|
||||
|
||||
case constant::infoState::TotalMemoryUsage:
|
||||
out = state.process->heap->address + constant::DefStackSize + state.os->memory.GetProgramSize();
|
||||
out = state.process->heap->size + constant::DefStackSize + state.os->memory.GetProgramSize();
|
||||
break;
|
||||
|
||||
case constant::infoState::AddressSpaceBaseAddr:
|
||||
|
Loading…
Reference in New Issue
Block a user