You've already forked smb-decomp
mirror of
https://github.com/encounter/smb-decomp.git
synced 2026-03-30 11:38:28 -07:00
74e69e9c7e
* Rename stcoli functions * Add gen_compile_commands.py script * Add shebang * gen_compile_commands: pretend to be GCC * Separately compilable game headers * Separately compilable system dolphin headers * Remove stcoli changes from this PR * Fix EOF newlines
18 lines
448 B
C
18 lines
448 B
C
#ifndef _DOLPHIN_AR_H_
|
|
#define _DOLPHIN_AR_H_
|
|
|
|
#include <dolphin/types.h>
|
|
|
|
#define ARAM_DIR_MRAM_TO_ARAM 0x00
|
|
#define ARAM_DIR_ARAM_TO_MRAM 0x01
|
|
|
|
u32 ARGetDMAStatus(void);
|
|
void ARStartDMA(u32 type, u32 mainmem_addr, u32 aram_addr, u32 length);
|
|
|
|
#define ARStartDMARead(mmem, aram, len) \
|
|
ARStartDMA(ARAM_DIR_ARAM_TO_MRAM, mmem, aram, len)
|
|
#define ARStartDMAWrite(mmem, aram, len) \
|
|
ARStartDMA(ARAM_DIR_MRAM_TO_ARAM, mmem, aram, len)
|
|
|
|
#endif
|