Replaced type "DWORD" by "u32", except where "DWORD" is used to access the Windows API.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@429 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne
2008-09-01 22:48:56 +00:00
parent f3f17b4a19
commit 1154027808
14 changed files with 39 additions and 42 deletions

View File

@ -44,7 +44,6 @@ typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned int BOOL;
typedef unsigned int DWORD;
typedef unsigned long long u64;
typedef char s8;

View File

@ -38,12 +38,10 @@
#define BOOL unsigned int
#define WORD unsigned short
#define DWORD unsigned int
#define HWND void*
#define HINSTANCE void*
#define INT int
#define CHAR char
#define TCHAR char
#endif
#if defined(__cplusplus)

View File

@ -23,14 +23,14 @@ typedef void (*TKeyPressed)(int keycode, BOOL shift, BOOL control); // sets th
typedef struct
{
// fifo registers
volatile DWORD CPBase;
volatile DWORD CPEnd;
DWORD CPHiWatermark;
DWORD CPLoWatermark;
volatile u32 CPBase;
volatile u32 CPEnd;
u32 CPHiWatermark;
u32 CPLoWatermark;
volatile s32 CPReadWriteDistance;
volatile DWORD CPWritePointer;
volatile DWORD CPReadPointer;
volatile DWORD CPBreakpoint;
volatile u32 CPWritePointer;
volatile u32 CPReadPointer;
volatile u32 CPBreakpoint;
volatile bool bFF_GPReadEnable;
volatile bool bFF_BPEnable;
@ -142,7 +142,7 @@ EXPORT void CALL Video_SendFifoData(u8* _uData);
// input: pointer to the XFB, width and height of the XFB
// output: none
//
EXPORT void CALL Video_UpdateXFB(u8* _pXFB, DWORD _dwWidth, DWORD _dwHeight);
EXPORT void CALL Video_UpdateXFB(u8* _pXFB, u32 _dwWidth, u32 _dwHeight);
// __________________________________________________________________________________________________
// Function: Video_Screenshot