- Fix bug from preceding commit: OPL chips were forced stereo. Also, DiskWriterIO::OPLinit()

should return the number of initialized chips, not just 0 and 1.

SVN r3943 (trunk)
This commit is contained in:
Randy Heit 2012-11-06 05:29:44 +00:00
parent df1e802412
commit 1d81162d8f
2 changed files with 2 additions and 2 deletions

View file

@ -1587,7 +1587,7 @@ public:
/* init global tables */
OPL_initalize(&Chip);
Chip.IsStereo = true;
Chip.IsStereo = stereo;
Reset();
}

View file

@ -189,7 +189,7 @@ int DiskWriterIO::OPLinit(uint numchips, bool dontcare)
CurChip = 0;
OPLchannels = OPL2CHANNELS * numchips;
OPLwriteInitState();
return 1;
return numchips;
}
//==========================================================================