Matched game/armem and game/perf
This commit is contained in:
parent
de5b0cc0b9
commit
cc324e6212
7 changed files with 569 additions and 8 deletions
21
include/game/armem.h
Normal file
21
include/game/armem.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef _GAME_ARMEM_H
|
||||
#define _GAME_ARMEM_H
|
||||
|
||||
#include "common.h"
|
||||
#include "game/memory.h"
|
||||
|
||||
void HuARInit(void);
|
||||
void *HuARMalloc(u32 arg0);
|
||||
void HuARFree(void *arg0);
|
||||
void HuAMemDump(void);
|
||||
void *HuAR_DVDtoARAM(u32 arg0);
|
||||
void HuAR_MRAMtoARAM(s32 arg0);
|
||||
void *HuAR_MRAMtoARAM2(void *arg0);
|
||||
void HuAR_ARAMtoMRAM(void *dst);
|
||||
void *HuAR_ARAMtoMRAMNum(void *dst, s32 num);
|
||||
BOOL HuARDMACheck(void);
|
||||
void *HuARDirCheck(u32 dir);
|
||||
void HuARDirFree(u32 arg0);
|
||||
void *HuAR_ARAMtoMRAMFileRead(u32 arg0, u32 arg1, HeapID arg2);
|
||||
|
||||
#endif
|
||||
|
|
@ -63,9 +63,9 @@ void *HuDataReadNumHeapShortForce(s32 data_id, s32 num, HeapID heap);
|
|||
|
||||
void HuDecodeData(void *src, void *dst, u32 size, int decode_type);
|
||||
|
||||
void *HuARDirCheck(s32 dir);
|
||||
void *HuARDirCheck(u32 dir);
|
||||
void HuAR_ARAMtoMRAM(void *dst);
|
||||
void HuAR_ARAMtoMRAMNum(void *dst, s32 num);
|
||||
void *HuAR_ARAMtoMRAMNum(void *dst, s32 num);
|
||||
BOOL HuARDMACheck();
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ void HuMemMemoryFree(void *ptr, u32 retaddr);
|
|||
void HuMemMemoryFreeNum(void *heap_ptr, u32 num, u32 retaddr);
|
||||
s32 HuMemUsedMemorySizeGet(void *heap_ptr);
|
||||
s32 HuMemUsedMemoryBlockGet(void *heap_ptr);
|
||||
s32 HuMemMemorySizeGet(void *ptr);
|
||||
s32 HuMemMemoryAllocSizeGet(s32 size);
|
||||
void HuMemHeapDump(void *heap_ptr, s16 status);
|
||||
|
||||
|
|
|
|||
12
include/game/perf.h
Normal file
12
include/game/perf.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef _GAME_PERF_H
|
||||
#define _GAME_PERF_H
|
||||
|
||||
#include "common.h"
|
||||
|
||||
void HuPerfInit(void);
|
||||
s32 HuPerfCreate(char *arg0, u8 arg1, u8 arg2, u8 arg3, u8 arg4);
|
||||
void HuPerfZero(void);
|
||||
void HuPerfBegin(s32 arg0);
|
||||
void HuPerfEnd(s32 arg0);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue