Debian Codegraph @

port/ds/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 #define HAS_XYBUTTON
25 #define HAS_STYLUS
26 #define HAS_DISKIO
27
28 typedef unsigned char u8;
29 typedef signed char s8;
30 typedef unsigned short u16;
31 typedef signed short s16;
32 #if 0
33 typedef unsigned int u32;
34 typedef signed int s32;
35 #else
36 typedef uint32_t u32;
37 typedef int32_t s32;
38 #endif
39
40 #define INT_TYPE_VBL 0
41 #define INT_TYPE_HBL 1
42
43 #define WIN_BG0 0x01
44 #define WIN_BG1 0x02
45 #define WIN_BG2 0x04
46 #define WIN_BG3 0x08
47 #define WIN_OBJ 0x10
48
49 #include "hamfake.h"
50
51 #include <string.h>
52 #include <malloc.h>
53 #include <stdlib.h>
54 #include <stdio.h>
55
56 #endif
57