vs2005 fixes

This commit is contained in:
Aaron Robinson 2006-06-02 06:00:09 +00:00
parent 6485390137
commit a0358b4408
3 changed files with 7 additions and 6 deletions

View File

@ -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);
}

View File

@ -41,6 +41,7 @@ namespace xboxkrnl
};
#include <stdio.h>
#include <ctype.h>
#include <locale.h>
#include <process.h>

View File

@ -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;