summaryrefslogtreecommitdiff
path: root/opl/opl_obsd.c
diff options
context:
space:
mode:
authorSimon Howard2009-09-26 23:52:41 +0000
committerSimon Howard2009-09-26 23:52:41 +0000
commitdce2c95f05b8f5ed734d1a1b75ccd7bfb2260557 (patch)
treec691b8315051dbd9ee59158d6d7d88886ab46c97 /opl/opl_obsd.c
parent808b78153c3d3bfe1fb692106323731d17e49489 (diff)
downloadchocolate-doom-dce2c95f05b8f5ed734d1a1b75ccd7bfb2260557.tar.gz
chocolate-doom-dce2c95f05b8f5ed734d1a1b75ccd7bfb2260557.tar.bz2
chocolate-doom-dce2c95f05b8f5ed734d1a1b75ccd7bfb2260557.zip
Move register read/write code into OPL library. Detect OPL in the
library code, so that we fall back to software emulation if we have port access but an OPL is not detected. Fix detection of ioperm in configure. Subversion-branch: /branches/opl-branch Subversion-revision: 1692
Diffstat (limited to 'opl/opl_obsd.c')
-rw-r--r--opl/opl_obsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opl/opl_obsd.c b/opl/opl_obsd.c
index a3a22ab8..82d9186d 100644
--- a/opl/opl_obsd.c
+++ b/opl/opl_obsd.c
@@ -101,5 +101,5 @@ opl_driver_t opl_openbsd_driver =
OPL_Timer_SetPaused
};
-#endif /* #ifdef HAVE_IOPERM */
+#endif /* #ifdef HAVE_LIBI386 */