summaryrefslogtreecommitdiff
path: root/opl/examples
diff options
context:
space:
mode:
authorSimon Howard2009-08-29 20:08:21 +0000
committerSimon Howard2009-08-29 20:08:21 +0000
commitca065a06caac9ba5fab3eb8b1f49d529755506db (patch)
tree75c23fcf6d65b76423b3e4085c66235ae2376346 /opl/examples
parente33a4961331301b1e3a5c65d148050fa33c4c594 (diff)
downloadchocolate-doom-ca065a06caac9ba5fab3eb8b1f49d529755506db.tar.gz
chocolate-doom-ca065a06caac9ba5fab3eb8b1f49d529755506db.tar.bz2
chocolate-doom-ca065a06caac9ba5fab3eb8b1f49d529755506db.zip
Set timer callback for OPL emulator so that the adlib detection routine
works. Subversion-branch: /branches/opl-branch Subversion-revision: 1633
Diffstat (limited to 'opl/examples')
-rw-r--r--opl/examples/droplay.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/opl/examples/droplay.c b/opl/examples/droplay.c
index 5158fbcd..b1656815 100644
--- a/opl/examples/droplay.c
+++ b/opl/examples/droplay.c
@@ -89,8 +89,6 @@ int DetectOPL(void)
WriteReg(OPL_REG_TIMER_CTRL, 0x60);
WriteReg(OPL_REG_TIMER_CTRL, 0x80);
-// Temporary hack for SDL driver.
-return 1;
return val1 == 0 && val2 == 0xc0;
}