Signal main thread only if dsp is configured

This commit is contained in:
Toni Wilen 2024-01-13 12:31:46 +02:00
parent bb04434495
commit 56f38ef0c3

View File

@ -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);
}
}