From: Toni Wilen Date: Sat, 13 Jan 2024 10:31:46 +0000 (+0200) Subject: Signal main thread only if dsp is configured X-Git-Tag: 5200~73 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=56f38ef0c3d6f26f7da153413671a541e441c573;p=francis%2Fwinuae.git Signal main thread only if dsp is configured --- diff --git a/dsp3210/dsp_glue.cpp b/dsp3210/dsp_glue.cpp index 5c9b88c5..5d9e48c5 100644 --- a/dsp3210/dsp_glue.cpp +++ b/dsp3210/dsp_glue.cpp @@ -348,6 +348,8 @@ bool dsp_init(struct autoconfig_info *aci) void dsp_pause(int pause) { - dsp_paused = pause; - uae_sem_post(&pause_sem); + if (is_dsp_installed) { + dsp_paused = pause; + uae_sem_post(&pause_sem); + } }