mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-28 05:11:37 +00:00
audio_patches: check if Windows major version is >=10
Just in case.
This commit is contained in:
parent
d64130698d
commit
acd7d0358b
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ bool AudioPatches::CanAttenuate()
|
||||||
|
|
||||||
auto version = GetPlatformVersion();
|
auto version = GetPlatformVersion();
|
||||||
|
|
||||||
m_isAttenuationSupported = version.Major == 10 && version.Build >= 17763;
|
m_isAttenuationSupported = version.Major >= 10 && version.Build >= 17763;
|
||||||
|
|
||||||
return m_isAttenuationSupported;
|
return m_isAttenuationSupported;
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue