From bb7fc7671ccae481ab6c294fc63034c0b6585d6a Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Sun, 28 May 2006 23:59:21 +0000
Subject: [PATCH] Don't forget to re-try opening using SDL on the next open
 after a failure.

---
 src/xpdev/xpbeep.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xpdev/xpbeep.c b/src/xpdev/xpbeep.c
index 21ad357e52..c6b12c761a 100644
--- a/src/xpdev/xpbeep.c
+++ b/src/xpdev/xpbeep.c
@@ -391,6 +391,7 @@ BOOL xptone_close(void)
 	handle_type=SOUND_DEVICE_CLOSED;
 	sound_device_open_failed=FALSE;
 	alsa_device_open_failed=FALSE;
+	sdl_device_open_failed=FALSE;
 
 	return(TRUE);
 }
-- 
GitLab