diff --git a/config/GMPE01_00/symbols.txt b/config/GMPE01_00/symbols.txt index f7429804..7b255f4e 100644 --- a/config/GMPE01_00/symbols.txt +++ b/config/GMPE01_00/symbols.txt @@ -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 diff --git a/src/game/memory.c b/src/game/memory.c index 15dfb908..990c70db 100644 --- a/src/game/memory.c +++ b/src/game/memory.c @@ -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) {