summaryrefslogtreecommitdiff
path: root/src/i_oplmusic.c
diff options
context:
space:
mode:
authorSimon Howard2009-09-26 20:01:58 +0000
committerSimon Howard2009-09-26 20:01:58 +0000
commit808b78153c3d3bfe1fb692106323731d17e49489 (patch)
tree832b3786642f3f276b81a24981b70c63da893bfc /src/i_oplmusic.c
parent6f3d0abb12bcc05336e780414fe84a8f9f25ec26 (diff)
downloadchocolate-doom-808b78153c3d3bfe1fb692106323731d17e49489.tar.gz
chocolate-doom-808b78153c3d3bfe1fb692106323731d17e49489.tar.bz2
chocolate-doom-808b78153c3d3bfe1fb692106323731d17e49489.zip
Don't use snd_mport to control OPL base I/O port; Vanilla doesn't do
this. Subversion-branch: /branches/opl-branch Subversion-revision: 1691
Diffstat (limited to 'src/i_oplmusic.c')
-rw-r--r--src/i_oplmusic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i_oplmusic.c b/src/i_oplmusic.c
index 7bfdc04d..dd62076d 100644
--- a/src/i_oplmusic.c
+++ b/src/i_oplmusic.c
@@ -336,7 +336,7 @@ static boolean init_stage_reg_writes = false;
// Configuration file variable, containing the port number for the
// adlib chip.
-int snd_mport = 0x388;
+int opl_io_port = 0x388;
static unsigned int GetStatus(void)
{
@@ -729,7 +729,7 @@ static void I_OPL_ShutdownMusic(void)
static boolean I_OPL_InitMusic(void)
{
- if (!OPL_Init(snd_mport))
+ if (!OPL_Init(opl_io_port))
{
return false;
}