diosmios/global.h
crediar@rypp.net a2190e4497 -updated to version 2.4-
*Fixed NMM for Mario Kart Double Dash. Saving ghost data works now as well
*Fixed a bug that would sometimes break cheating/debugging unless both were enabled
*Moved the VIConfigure patch to the ARM side which should fix a number of broken titles
*Changed the HDD time out to read a random sector
*Optimised the EHCI reset code
*Optimised the CARD code


git-svn-id: svn://localhost/Users/andi/Downloads/code/DML@31 be6c1b03-d731-4111-a574-e37d80d43941
2012-10-21 21:36:35 +00:00

63 lines
1.2 KiB
C

#ifndef __GLOBAL_H__
#define __GLOBAL_H__
#define UINT_MAX ((unsigned int)0xffffffff)
#define CARD_DEBUG 1
#define CHEATHOOK 1
//#define DEBUGGER 1
//#define DEBUGGERWAIT 1
//#define ACTIVITYLED 1
//#define CARDMODE 1
//#define CARDDEBUG 1
#define REALNAND 1
#define PADHOOK 1
#define CONFIG_VERSION 0x00000002
#define DML_VERSION 0x00020004
#define DI_SUCCESS 1
#define DI_ERROR 2
#define DI_FATAL 64
//#define DEBUG 0
#define false 0
#define true 1
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned long long u64;
typedef int bool;
typedef unsigned int sec_t;
typedef signed char s8;
typedef signed short s16;
typedef signed int s32;
typedef signed long long s64;
typedef volatile unsigned char vu8;
typedef volatile unsigned short vu16;
typedef volatile unsigned int vu32;
typedef volatile unsigned long long vu64;
typedef volatile signed char vs8;
typedef volatile signed short vs16;
typedef volatile signed int vs32;
typedef volatile signed long long vs64;
typedef s32 size_t;
typedef u32 u_int32_t;
typedef s32(*ipccallback)(s32 result,void *usrdata);
#define NULL ((void *)0)
#define ALIGNED(x) __attribute__((aligned(x)))
#endif