From: Toni Wilen Date: Sat, 14 Apr 2018 07:34:07 +0000 (+0300) Subject: If new low latency vsync and dsound: force wasapi. dsound is not compatible. X-Git-Tag: 4000~123 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=59885759818c8f1ce8c3d5dce4837f99bedb6a3a;p=francis%2Fwinuae.git If new low latency vsync and dsound: force wasapi. dsound is not compatible. --- diff --git a/od-win32/win32.cpp b/od-win32/win32.cpp index 58b10248..ad1cfab5 100644 --- a/od-win32/win32.cpp +++ b/od-win32/win32.cpp @@ -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); }