make OPN channel offsets common

This commit is contained in:
tildearrow 2022-12-24 00:15:15 -05:00
parent 5ecc79f8b9
commit 85d43a84a7
10 changed files with 31 additions and 32 deletions

View file

@ -77,7 +77,7 @@ class DivPlatformYM2203: public DivPlatformOPN {
int init(DivEngine* parent, int channels, int sugRate, const DivConfig& flags);
void quit();
DivPlatformYM2203():
DivPlatformOPN(4720270.0, 36, 16),
DivPlatformOPN(2, 3, 6, 6, 6, 4720270.0, 36, 16),
prescale(0x2d) {}
~DivPlatformYM2203();
};