Debian Codegraph @

port/gba/mygba.h

raw symbols SCIP
1 /*
2 * PROPRIETARY INFORMATION. This software is proprietary to POWDER
3 * Development, and is not to be reproduced, transmitted, or disclosed
4 * in any way without written permission.
5 *
6 * Produced by: Jeff Lait
7 *
8 * POWDER Development
9 *
10 * NAME: mygba.h ( POWDER Library, C++ )
11 *
12 * COMMENTS:
13 * This is a fake version of the HAM libraries mygba.h.
14 * It redefines the functions we need using hamfake.cpp.
15 */
16
17 #ifndef __mygba__
18 #define __mygba__
19
20 #include <stdint.h>
21
22 // #define STRESS_TEST
23
24 typedef unsigned char u8;
25 typedef signed char s8;
26 typedef unsigned short u16;
27 typedef signed short s16;
28 #if 1
29 typedef unsigned int u32;
30 typedef signed int s32;
31 #else
32 typedef uint32_t u32;
33 typedef int32_t s32;
34 #endif
35
36 #define INT_TYPE_VBL 0
37 #define INT_TYPE_HBL 1
38
39 #define WIN_BG0 0x01
40 #define WIN_BG1 0x02
41 #define WIN_BG2 0x04
42 #define WIN_BG3 0x08
43 #define WIN_OBJ 0x10
44
45 #include "hamfake.h"
46
47 #include <string.h>
48 #include <malloc.h>
49 #include <stdlib.h>
50 #include <stdio.h>
51
52 #endif
53