Fix MSVC builds

This commit is contained in:
Michał Janiszewski 2017-12-06 12:24:07 +01:00
parent 7116d88e98
commit 0a28b6eb56
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ static bool bitcount_popcnt_available()
{
#ifdef OPENRCT2_X86
// POPCNT support is declared as the 23rd bit of ECX with CPUID(EAX = 1).
uint32 regs[4] = {};
uint32 regs[4] = { 0 };
if (cpuid_x86(regs, 1))
{
return (regs[2] & (1 << 23));