From 59885759818c8f1ce8c3d5dce4837f99bedb6a3a Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 14 Apr 2018 10:34:07 +0300 Subject: [PATCH] If new low latency vsync and dsound: force wasapi. dsound is not compatible. --- od-win32/win32.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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); } -- 2.47.3