Files
SpaghettiKart/src/memory.h
T
Tyler McGavran 45354a149b Mostly match a few functions in memory.c (#178)
* Match a few functions in memory.c

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-04-18 08:04:46 -06:00

30 lines
582 B
C

#ifndef MEMORY_H
#define MEMORY_H
#define MEMORY_POOL_LEFT 0
#define MEMORY_POOL_RIGHT 1
extern struct MemoryPool *gEffectsMemoryPool;
s32 func_802A7B70(s32 segment);
uintptr_t set_segment_base_addr(s32 segment, void *addr);
void *get_segment_base_addr(s32 segment);
s32 lookup_item(u32 segment);
s8 func_802ABD10(u16);
s16 func_802ABD40(u16);
s16 func_802ABD7C(u16);
s16 func_802ABDB8(u16);
s16 func_802ABDF4(u16);
f32 func_802ABE30(f32, f32, f32, u16);
struct AllocOnlyPool {
s32 totalSpace;
s32 usedSpace;
u8 *startPtr;
u8 *freePtr;
};
#endif // MEMORY_H