Match memory.c

This commit is contained in:
gamemasterplc 2023-11-21 22:19:25 -06:00
parent 66f6f65899
commit c059fed815
2 changed files with 7 additions and 9 deletions

View file

@ -4843,7 +4843,7 @@ lbl_80121E00 = .data:0x80121E00; // type:object size:0x150
HeapSizeTbl = .data:0x80121F50; // type:object size:0x78 scope:local
lbl_80121FC8 = .data:0x80121FC8; // type:object size:0x50
lbl_80122018 = .data:0x80122018; // type:object size:0x128
fcoltbl = .data:0x80122140; // type:object size:0x40
fcoltbl = .data:0x80122140; // type:object size:0x40 align:32
lbl_80122180 = .data:0x80122180; // type:object size:0x1F data:string
lbl_8012219F = .data:0x8012219F; // type:object size:0x31
lbl_801221D0 = .data:0x801221D0; // type:object size:0x12

View file

@ -151,15 +151,13 @@ s32 HuMemMemoryAllocSizeGet(s32 size)
void HuMemHeapDump(void *heap_ptr, s16 status)
{
u8 dump_type;
s32 size, inactive_size;
s32 num_unused_blocks, num_blocks;
struct memory_block *block = heap_ptr;
size = 0;
inactive_size = 0;
num_blocks = 0;
num_unused_blocks = 0;
s32 size = 0;
s32 inactive_size = 0;
s32 num_blocks = 0;
s32 num_unused_blocks = 0;
u8 dump_type;
if(status < 0) {
dump_type = 10;
} else if(status == 0) {