From 81b13f78ea27aaa6704457124931148244fd1614 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 11 Jan 2018 07:19:19 -0800 Subject: Move the CPU capability flags to a separate header --- Alc/helpers.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Alc/helpers.c') diff --git a/Alc/helpers.c b/Alc/helpers.c index 7f6349b3..0f69b29e 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -108,6 +108,7 @@ DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x #include "alMain.h" #include "alu.h" +#include "cpu_caps.h" #include "atomic.h" #include "uintmap.h" #include "vector.h" @@ -124,12 +125,11 @@ extern inline ALuint64 ScaleCeil(ALuint64 val, ALuint64 new_scale, ALuint64 old_ extern inline ALint fastf2i(ALfloat f); -ALuint CPUCapFlags = 0; +int CPUCapFlags = 0; - -void FillCPUCaps(ALuint capfilter) +void FillCPUCaps(int capfilter) { - ALuint caps = 0; + int caps = 0; /* FIXME: We really should get this for all available CPUs in case different * CPUs have different caps (is that possible on one machine?). */ -- cgit v1.2.3