]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
If new low latency vsync and dsound: force wasapi. dsound is not compatible.
authorToni Wilen <twilen@winuae.net>
Sat, 14 Apr 2018 07:34:07 +0000 (10:34 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 14 Apr 2018 07:34:07 +0000 (10:34 +0300)
od-win32/win32.cpp

index 58b102487be4812ed20b4343108180d1a1f25d4d..ad1cfab536ec2f6ea449c6478fde47995a798a06 100644 (file)
@@ -3904,6 +3904,12 @@ void target_fixup_options (struct uae_prefs *p)
                }
 
        }
+       if ((p->gfx_apmode[0].gfx_vsyncmode || p->gfx_apmode[1].gfx_vsyncmode) ) {
+               if (p->produce_sound && sound_devices[p->win32_soundcard]->type == SOUND_DEVICE_DS) {
+                       p->win32_soundcard = 0;
+               }
+       }
+
        d3d_select(p);
 }