| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
#ifndef __mygba__ |
| 18 |
#define __mygba__ |
| 19 |
|
| 20 |
#include <stdint.h> |
| 21 |
|
| 22 |
|
| 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 |
|