vs2005 fixes
This commit is contained in:
parent
6485390137
commit
a0358b4408
|
@ -436,7 +436,7 @@ static const char* OReg_Name[] =
|
|||
"a0.x"
|
||||
};
|
||||
|
||||
static inline IsInUse(const boolean *pMask)
|
||||
static inline int IsInUse(const boolean *pMask)
|
||||
{
|
||||
return (pMask[0] || pMask[1] || pMask[2] || pMask[3]);
|
||||
}
|
||||
|
@ -473,10 +473,10 @@ static inline boolean HasILUO(VSH_SHADER_INSTRUCTION *pInstruction)
|
|||
}
|
||||
|
||||
// Retrieves a number of bits in the instruction token
|
||||
static inline VshGetFromToken(uint32 *pShaderToken,
|
||||
uint08 SubToken,
|
||||
uint08 StartBit,
|
||||
uint08 BitLength)
|
||||
static inline int VshGetFromToken(uint32 *pShaderToken,
|
||||
uint08 SubToken,
|
||||
uint08 StartBit,
|
||||
uint08 BitLength)
|
||||
{
|
||||
return (pShaderToken[SubToken] >> StartBit) & ~(0xFFFFFFFF << BitLength);
|
||||
}
|
||||
|
|
|
@ -41,6 +41,7 @@ namespace xboxkrnl
|
|||
};
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <locale.h>
|
||||
#include <process.h>
|
||||
|
||||
|
|
|
@ -1183,7 +1183,7 @@ VOID WINAPI XTL::EmuXapiThreadStartup
|
|||
|
||||
EmuSwapFS(); // XBox FS
|
||||
|
||||
typedef (__stdcall *pfDummyFunc)(DWORD dwDummy);
|
||||
typedef int (__stdcall *pfDummyFunc)(DWORD dwDummy);
|
||||
|
||||
pfDummyFunc func = (pfDummyFunc)dwDummy1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue