From b796c64d34847434d053aeacca5b6ec10ace2450 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 10 Mar 2009 22:20:32 +0000 Subject: Add delay to allow OPL detection to work. Subversion-branch: /branches/opl-branch Subversion-revision: 1461 --- src/i_oplmusic.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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(); -- cgit v1.2.3