/*
 * PROPRIETARY INFORMATION.  This software is proprietary to POWDER
 * Development, and is not to be reproduced, transmitted, or disclosed
 * in any way without written permission.
 *
 * Produced by:	Jeff Lait
 *
 *      	POWDER Development
 *
 * NAME:        mygba.h ( POWDER Library, C++ )
 *
 * COMMENTS:
 *	This is a fake version of the HAM libraries mygba.h.
 *	It redefines the functions we need using hamfake.cpp.
 */

#ifndef __mygba__
#define __mygba__

#include <stdint.h>

// #define STRESS_TEST

#define HAS_XYBUTTON
#define HAS_STYLUS
#define HAS_DISKIO

typedef unsigned char u8;
typedef signed char s8;
typedef unsigned short u16;
typedef signed short s16;
#if 0
typedef unsigned int u32;
typedef signed int s32;
#else
typedef uint32_t u32;
typedef int32_t	s32;
#endif

#define INT_TYPE_VBL		0
#define INT_TYPE_HBL		1

#define WIN_BG0 0x01
#define WIN_BG1 0x02
#define WIN_BG2 0x04
#define WIN_BG3 0x08
#define WIN_OBJ 0x10

#include "hamfake.h"

#include <string.h>
#include <malloc.h>
#include <stdlib.h>
#include <stdio.h>

#endif

