From cec17f057a9a7b9ce1468095e53e2cc4aa9416fc Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 16 May 2021 12:29:29 -0700 Subject: [PATCH] Allow unknown guid3DAlgorithm values --- dsound8.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dsound8.c b/dsound8.c index 99d281a..a06441c 100644 --- a/dsound8.c +++ b/dsound8.c @@ -673,8 +673,9 @@ static HRESULT WINAPI DS8_CreateSoundBuffer(IDirectSound8 *iface, LPCDSBUFFERDES { if(!IsEqualGUID(&desc->guid3DAlgorithm, &GUID_NULL)) { - WARN("Invalid 3D algorithm GUID specified for non-3D buffer: %s\n", debugstr_guid(&desc->guid3DAlgorithm)); - return DSERR_INVALIDPARAM; + /* Not fatal. Some apps pass unknown values here. */ + WARN("Unknown 3D algorithm GUID specified for non-3D buffer: %s\n", + debugstr_guid(&desc->guid3DAlgorithm)); } } else