Add opl3gold option to oplmode setting. With this option the AdLib Gold music can be selected in Dune. Only FM music without effects (reverb, stereo enhancement, surround sound, etc.) is supported; and FM volume control, used in the CD-ROM version of Dune, does work.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3936
This commit is contained in:
parent
0c979d54a5
commit
babb297c60
5 changed files with 86 additions and 3 deletions
|
@ -1533,6 +1533,7 @@ private:
|
|||
else if (!strcasecmp(omode,"opl2")) opl_mode=OPL_opl2;
|
||||
else if (!strcasecmp(omode,"dualopl2")) opl_mode=OPL_dualopl2;
|
||||
else if (!strcasecmp(omode,"opl3")) opl_mode=OPL_opl3;
|
||||
else if (!strcasecmp(omode,"opl3gold")) opl_mode=OPL_opl3gold;
|
||||
/* Else assume auto */
|
||||
else {
|
||||
switch (type) {
|
||||
|
@ -1588,6 +1589,7 @@ public:
|
|||
// fall-through
|
||||
case OPL_dualopl2:
|
||||
case OPL_opl3:
|
||||
case OPL_opl3gold:
|
||||
OPL_Init(section,oplmode);
|
||||
break;
|
||||
}
|
||||
|
@ -1645,6 +1647,7 @@ public:
|
|||
// fall-through
|
||||
case OPL_dualopl2:
|
||||
case OPL_opl3:
|
||||
case OPL_opl3gold:
|
||||
OPL_ShutDown(m_configuration);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue