mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-03 01:12:23 +00:00
- 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:
parent
df1e802412
commit
1d81162d8f
2 changed files with 2 additions and 2 deletions
|
@ -1587,7 +1587,7 @@ public:
|
||||||
/* init global tables */
|
/* init global tables */
|
||||||
OPL_initalize(&Chip);
|
OPL_initalize(&Chip);
|
||||||
|
|
||||||
Chip.IsStereo = true;
|
Chip.IsStereo = stereo;
|
||||||
|
|
||||||
Reset();
|
Reset();
|
||||||
}
|
}
|
||||||
|
|
|
@ -189,7 +189,7 @@ int DiskWriterIO::OPLinit(uint numchips, bool dontcare)
|
||||||
CurChip = 0;
|
CurChip = 0;
|
||||||
OPLchannels = OPL2CHANNELS * numchips;
|
OPLchannels = OPL2CHANNELS * numchips;
|
||||||
OPLwriteInitState();
|
OPLwriteInitState();
|
||||||
return 1;
|
return numchips;
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
Loading…
Reference in a new issue