mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-23 23:21:49 +01:00
Change name of compilation symbol
This commit is contained in:
parent
09a7cd8288
commit
17a1e895eb
@ -87,7 +87,7 @@
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<DefineConstants>PLATFORM_X64</DefineConstants>
|
||||
<DefineConstants>WIN64</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -492,7 +492,7 @@ namespace DS4Windows
|
||||
else
|
||||
{
|
||||
byte[] buffer = new byte[126];
|
||||
#if PLATFORM_X64
|
||||
#if WIN64
|
||||
ulong bufferLen = 126;
|
||||
#else
|
||||
uint bufferLen = 126;
|
||||
|
@ -391,7 +391,7 @@ namespace DS4Windows
|
||||
[DllImport("hid.dll")]
|
||||
static internal extern int HidP_GetValueCaps(short reportType, ref byte valueCaps, ref short valueCapsLength, IntPtr preparsedData);
|
||||
|
||||
#if PLATFORM_X64
|
||||
#if WIN64
|
||||
[DllImport("hid.dll")]
|
||||
static internal extern bool HidD_GetSerialNumberString(IntPtr HidDeviceObject, byte[] Buffer, ulong BufferLength);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user