mirror of https://github.com/PCSX2/pcsx2.git
GSdx: vs2008 fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5027 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
eaf06e8b1d
commit
03bca19d99
|
@ -130,7 +130,11 @@ using namespace std;
|
||||||
template<> class hash_compare<uint32>
|
template<> class hash_compare<uint32>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
#if _MSC_VER >= 1500 && _MSC_VER < 1600
|
||||||
|
enum {bucket_size = 4, min_buckets = 8};
|
||||||
|
#else
|
||||||
enum {bucket_size = 1};
|
enum {bucket_size = 1};
|
||||||
|
#endif
|
||||||
|
|
||||||
size_t operator()(uint32 key) const
|
size_t operator()(uint32 key) const
|
||||||
{
|
{
|
||||||
|
@ -153,7 +157,11 @@ using namespace std;
|
||||||
template<> class hash_compare<uint64>
|
template<> class hash_compare<uint64>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
#if _MSC_VER >= 1500 && _MSC_VER < 1600
|
||||||
|
enum {bucket_size = 4, min_buckets = 8};
|
||||||
|
#else
|
||||||
enum {bucket_size = 1};
|
enum {bucket_size = 1};
|
||||||
|
#endif
|
||||||
|
|
||||||
size_t operator()(uint64 key) const
|
size_t operator()(uint64 key) const
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
|
AdditionalIncludeDirectories=""$(VTUNE_AMPLIFIER_XE_2011_DIR)include""
|
||||||
PreprocessorDefinitions="_WINDOWS;_WIN32_WINNT=0x500"
|
PreprocessorDefinitions="_WINDOWS;_WIN32_WINNT=0x500"
|
||||||
FloatingPointModel="2"
|
FloatingPointModel="2"
|
||||||
RuntimeTypeInfo="false"
|
RuntimeTypeInfo="false"
|
||||||
|
@ -19,6 +20,7 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="d3d11.lib d3dx11.lib d3d10_1.lib d3dx10.lib d3d9.lib d3dx9.lib dxguid.lib winmm.lib strmiids.lib xinput.lib"
|
AdditionalDependencies="d3d11.lib d3dx11.lib d3d10_1.lib d3dx10.lib d3d9.lib d3dx9.lib dxguid.lib winmm.lib strmiids.lib xinput.lib"
|
||||||
|
AdditionalLibraryDirectories=""$(VTUNE_AMPLIFIER_XE_2011_DIR)lib32""
|
||||||
DelayLoadDLLs="d3d9.dll;d3dx9_43.dll;d3d11.dll;d3dx11_43.dll"
|
DelayLoadDLLs="d3d9.dll;d3dx9_43.dll;d3d11.dll;d3dx11_43.dll"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
|
|
Loading…
Reference in New Issue