aboutsummaryrefslogtreecommitdiff
path: root/source/nds/dma_adj.h
blob: 62b009877ac060744a92571090ce09200be39ddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _DMA_ADJ_H_
#define _DMA_ADJ_H_

#ifdef DS2_DMA

#ifdef __cplusplus
extern "C" {
#endif

struct SPointerAdjustments {
	unsigned int  GFXScreen;
};

extern struct SPointerAdjustments PtrAdj;

extern void* AlignedMalloc (unsigned int Size, unsigned int Alignment, unsigned int* Adjustment);
extern void AlignedFree (void* Memory, unsigned int Adjustment);

#ifdef __cplusplus
}
#endif

#endif // DS2_DMA

#endif // !_DMA_ADJ_H_