From 266322003a2b596b34e5a806b6eaa509e0d87d08 Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Thu, 6 May 2004 19:31:34 +0000 Subject: [PATCH] Using secondary buffer again - StatMat: please make a toggle. --- zsnes/src/win/winlink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index a63f692a..175858e2 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -680,12 +680,12 @@ InitSound() { lpDirectSound->Initialize(NULL); - if (DS_OK != lpDirectSound->SetCooperativeLevel(hMainWindow, DSSCL_WRITEPRIMARY)) + if (DS_OK != lpDirectSound->SetCooperativeLevel(hMainWindow, DSSCL_NORMAL)) //DSSCL_WRITEPRIMARY, fix this StatMat - make a toggle { if (DS_OK != lpDirectSound->SetCooperativeLevel(hMainWindow, DSSCL_EXCLUSIVE)) return FALSE; } - else UsePrimaryBuffer=1; + else UsePrimaryBuffer=0; //1, fix this StatMat - make a toggle } else {