Replaced "WORD" by "u16", except where it is part of the Windows API.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@434 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
36058428a0
commit
4b3c4492ea
|
@ -37,7 +37,6 @@
|
|||
#endif
|
||||
|
||||
#define BOOL unsigned int
|
||||
#define WORD unsigned short
|
||||
#define HWND void*
|
||||
#define HINSTANCE void*
|
||||
#define INT int
|
||||
|
@ -63,8 +62,8 @@ extern "C" {
|
|||
|
||||
typedef struct
|
||||
{
|
||||
WORD Version; // Set to 0x0100
|
||||
WORD Type; // Set to PLUGIN_TYPE_DVD
|
||||
u16 Version; // Set to 0x0100
|
||||
u16 Type; // Set to PLUGIN_TYPE_DVD
|
||||
char Name[100]; // Name of the DLL
|
||||
} PLUGIN_INFO;
|
||||
|
||||
|
|
|
@ -604,12 +604,12 @@ void LoadBPReg(u32 value0)
|
|||
break;
|
||||
|
||||
case BPMEM_PE_TOKEN_ID:
|
||||
g_VideoInitialize.pSetPEToken(static_cast<WORD>(value0 & 0xFFFF), FALSE);
|
||||
g_VideoInitialize.pSetPEToken(static_cast<u16>(value0 & 0xFFFF), FALSE);
|
||||
DebugLog("SetPEToken 0x%04x", (value0 & 0xFFFF));
|
||||
break;
|
||||
|
||||
case BPMEM_PE_TOKEN_INT_ID:
|
||||
g_VideoInitialize.pSetPEToken(static_cast<WORD>(value0 & 0xFFFF), TRUE);
|
||||
g_VideoInitialize.pSetPEToken(static_cast<u16>(value0 & 0xFFFF), TRUE);
|
||||
DebugLog("SetPEToken + INT 0x%04x", (value0 & 0xFFFF));
|
||||
break;
|
||||
|
||||
|
|
|
@ -584,12 +584,12 @@ void LoadBPReg(u32 value0)
|
|||
break;
|
||||
|
||||
case BPMEM_PE_TOKEN_ID:
|
||||
g_VideoInitialize.pSetPEToken(static_cast<WORD>(value0 & 0xFFFF), FALSE);
|
||||
g_VideoInitialize.pSetPEToken(static_cast<u16>(value0 & 0xFFFF), FALSE);
|
||||
DebugLog("SetPEToken 0x%04x", (value0 & 0xFFFF));
|
||||
break;
|
||||
|
||||
case BPMEM_PE_TOKEN_INT_ID:
|
||||
g_VideoInitialize.pSetPEToken(static_cast<WORD>(value0 & 0xFFFF), TRUE);
|
||||
g_VideoInitialize.pSetPEToken(static_cast<u16>(value0 & 0xFFFF), TRUE);
|
||||
DebugLog("SetPEToken + INT 0x%04x", (value0 & 0xFFFF));
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue