summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2009-08-29 21:26:43 +0000
committerSimon Howard2009-08-29 21:26:43 +0000
commita10180a460f6425cd308719584aa58ab4fcb63fb (patch)
tree1a77550555077e375811fcd2027c48e3c2cc9b73 /src
parent9cc843c60027cb9365f3eaae3028343769d17a26 (diff)
downloadchocolate-doom-a10180a460f6425cd308719584aa58ab4fcb63fb.tar.gz
chocolate-doom-a10180a460f6425cd308719584aa58ab4fcb63fb.tar.bz2
chocolate-doom-a10180a460f6425cd308719584aa58ab4fcb63fb.zip
Use OPL_Delay to wait 1ms for timer to expire when doing OPL detect.
Subversion-branch: /branches/opl-branch Subversion-revision: 1638
Diffstat (limited to 'src')
-rw-r--r--src/i_oplmusic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i_oplmusic.c b/src/i_oplmusic.c
index c444dfd8..0e1b69a3 100644
--- a/src/i_oplmusic.c
+++ b/src/i_oplmusic.c
@@ -202,6 +202,8 @@ static boolean DetectOPL(void)
GetStatus();
}
+ OPL_Delay(1);
+
// Read status
result2 = GetStatus();