| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
#ifndef __mygba__ |
| 18 |
#define __mygba__ |
| 19 |
|
| 20 |
#define USING_SDL |
| 21 |
#define HAS_DISKIO |
| 22 |
|
| 23 |
|
| 24 |
#define HAS_PRINTF |
| 25 |
|
| 26 |
#ifdef LINUX |
| 27 |
#define stricmp(a, b) strcasecmp(a, b) |
| 28 |
#endif |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
typedef unsigned char u8; |
| 33 |
typedef signed char s8; |
| 34 |
typedef unsigned short u16; |
| 35 |
typedef signed short s16; |
| 36 |
typedef unsigned int u32; |
| 37 |
typedef signed int s32; |
| 38 |
|
| 39 |
#define INT_TYPE_VBL 0 |
| 40 |
#define INT_TYPE_HBL 1 |
| 41 |
|
| 42 |
#define WIN_BG0 0x01 |
| 43 |
#define WIN_BG1 0x02 |
| 44 |
#define WIN_BG2 0x04 |
| 45 |
#define WIN_BG3 0x08 |
| 46 |
#define WIN_OBJ 0x10 |
| 47 |
|
| 48 |
#include <string.h> |
| 49 |
#include <stdio.h> |
| 50 |
#include <stdlib.h> |
| 51 |
#include <memory.h> |
| 52 |
|
| 53 |
#include "hamfake.h" |
| 54 |
|
| 55 |
#endif |
| 56 |
|