made BOOL into s8

I tried hard not to break windows code but please check


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1513 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-12-12 12:56:11 +00:00
parent d61cbd747f
commit 8fa5b24472
10 changed files with 36 additions and 40 deletions

View File

@ -39,14 +39,10 @@ typedef signed __int32 s32;
typedef signed __int64 s64;
#else
#ifdef BOOL
#undef BOOL
#endif
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
typedef signed char BOOL;
typedef unsigned long long u64;
typedef char s8;

View File

@ -14,14 +14,14 @@
typedef void (*TSetPEToken)(const unsigned short _token, const int _bSetTokenAcknowledge);
typedef void (*TSetPEFinish)(void);
typedef unsigned char* (*TGetMemoryPointer)(const unsigned int _iAddress);
typedef void (*TVideoLog)(const char* _pMessage, BOOL _bBreak);
typedef void (*TVideoLog)(const char* _pMessage, s8 _bBreak);
typedef void (*TSysMessage)(const char *fmt, ...);
typedef void (*TRequestWindowSize)(int _iWidth, int _iHeight, BOOL _bFullscreen);
typedef void (*TRequestWindowSize)(int _iWidth, int _iHeight, s8 _bFullscreen);
typedef void (*TCopiedToXFB)(void);
typedef unsigned int (*TPeekMessages)(void);
typedef void (*TUpdateInterrupts)(void);
typedef void (*TUpdateFPSDisplay)(const char* text); // sets the window title
typedef void (*TKeyPressed)(int keycode, BOOL shift, BOOL control); // sets the window title
typedef void (*TKeyPressed)(int keycode, s8 shift, s8 control); // sets the window title
typedef struct
{
@ -40,13 +40,13 @@ typedef struct
// So no possiblity to ack the Token irq by the scheduler until some sort of PPC watchdog do its mess.
volatile u16 PEToken;
volatile BOOL bFF_GPReadEnable;
volatile BOOL bFF_BPEnable;
volatile BOOL bFF_GPLinkEnable;
volatile BOOL bFF_Breakpoint;
volatile s8 bFF_GPReadEnable;
volatile s8 bFF_BPEnable;
volatile s8 bFF_GPLinkEnable;
volatile s8 bFF_Breakpoint;
volatile BOOL CPCmdIdle;
volatile BOOL CPReadIdle;
volatile s8 CPCmdIdle;
volatile s8 CPReadIdle;
// for GP watchdog hack
volatile u32 Fake_GPWDToken; // cicular incrementer