ref: b796c64d34847434d053aeacca5b6ec10ace2450
parent: c423d770e9a05e762a2382e342ddd0bb7e6f3996
author: Simon Howard <[email protected]>
date: Tue Mar 10 18:20:32 EDT 2009
Add delay to allow OPL detection to work. Subversion-branch: /branches/opl-branch Subversion-revision: 1461
--- a/src/i_oplmusic.c
+++ b/src/i_oplmusic.c
@@ -175,6 +175,7 @@
WriteRegister(OPL_REG_TIMER_CTRL, 0x21);
// Wait for 80 microseconds
+ SDL_Delay(1);
// Read status
result2 = GetStatus();