1
0
Fork 0

switch to old style volume for opl2mode

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3252
This commit is contained in:
Sebastian Strohhäcker 2009-01-01 22:36:03 +00:00
parent 4c781ee429
commit 87c8c10eb6

View file

@ -2081,8 +2081,8 @@ static void OPL3WriteReg(OPL3 *chip, int r, int v)
int base = ((r&0xf) + ch_offset) * 2;
/* OPL2 mode - always enabled */
chip->pan[ base ] = 1; /* ch.A */
chip->pan[ base +1 ] = 1; /* ch.B */
chip->pan[ base ] = 2; /* ch.A */
chip->pan[ base +1 ] = 2; /* ch.B */
}
CH->SLOT[SLOT1].FB = (v>>1)&7 ? ((v>>1)&7) + 7 : 0;