diff options
author | Simon Howard | 2009-03-10 22:20:32 +0000 |
---|---|---|
committer | Simon Howard | 2009-03-10 22:20:32 +0000 |
commit | b796c64d34847434d053aeacca5b6ec10ace2450 (patch) | |
tree | 422174dec47d99f85e3ed8cb4ae99c7a4aeb962b | |
parent | c423d770e9a05e762a2382e342ddd0bb7e6f3996 (diff) | |
download | chocolate-doom-b796c64d34847434d053aeacca5b6ec10ace2450.tar.gz chocolate-doom-b796c64d34847434d053aeacca5b6ec10ace2450.tar.bz2 chocolate-doom-b796c64d34847434d053aeacca5b6ec10ace2450.zip |
Add delay to allow OPL detection to work.
Subversion-branch: /branches/opl-branch
Subversion-revision: 1461
-rw-r--r-- | src/i_oplmusic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i_oplmusic.c b/src/i_oplmusic.c index 5b3ae041..7ead7f02 100644 --- a/src/i_oplmusic.c +++ b/src/i_oplmusic.c @@ -175,6 +175,7 @@ static boolean DetectOPL(void) WriteRegister(OPL_REG_TIMER_CTRL, 0x21); // Wait for 80 microseconds + SDL_Delay(1); // Read status result2 = GetStatus(); |