mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 16:22:41 +02:00
16 lines
442 B
C
16 lines
442 B
C
#ifndef _IN_LIB_DMA_H
|
|
#define _IN_LIB_DMA_H
|
|
#include <ultra64.h>
|
|
#include "data.h"
|
|
#include "types.h"
|
|
|
|
void dmaInit(void);
|
|
void dmaStart(void *memaddr, u32 romaddr, u32 len, bool priority);
|
|
void dmaCheckPiracy(void *memaddr, u32 len);
|
|
void dmaWait(void);
|
|
void dmaExec(void *memaddr, u32 romaddr, u32 len);
|
|
void dmaExecHighPriority(void *memaddr, u32 romaddr, u32 len);
|
|
void *dmaExecWithAutoAlign(void *memaddr, u32 romaddr, u32 len);
|
|
|
|
#endif
|