From cf529ec4854b87697db6f1dd9443747b71a34501 Mon Sep 17 00:00:00 2001 From: cyberwarriorx Date: Mon, 5 Feb 2007 23:05:00 +0000 Subject: [PATCH] -Special thanks to ImP0steR for this fix. This should help those that can't seem to use hardware buffer mixing. --- desmume/src/windows/snddx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desmume/src/windows/snddx.c b/desmume/src/windows/snddx.c index d2ca1e52a..f893c479c 100755 --- a/desmume/src/windows/snddx.c +++ b/desmume/src/windows/snddx.c @@ -125,7 +125,8 @@ int SNDDXInit(int buffersize) { if (ret == DSERR_CONTROLUNAVAIL || ret == DSERR_INVALIDCALL || - ret == E_FAIL) + ret == E_FAIL || + ret == E_NOTIMPL) { // Try using a software buffer instead dsbdesc.dwFlags = DSBCAPS_GLOBALFOCUS | DSBCAPS_STICKYFOCUS |