OPN: proper vol map for SSG/ADPCM/CSM/DAC parts
This commit is contained in:
parent
3742a8e2ea
commit
8d30ac4d3b
13 changed files with 53 additions and 0 deletions
|
|
@ -767,6 +767,12 @@ DivDispatchOscBuffer* DivPlatformYM2608Ext::getOscBuffer(int ch) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
int DivPlatformYM2608Ext::mapVelocity(int ch, float vel) {
|
||||
if (ch>=extChanOffs+4) return DivPlatformOPN::mapVelocity(ch-3,vel);
|
||||
if (ch>=extChanOffs) return DivPlatformOPN::mapVelocity(extChanOffs,vel);
|
||||
return DivPlatformOPN::mapVelocity(ch,vel);
|
||||
}
|
||||
|
||||
void DivPlatformYM2608Ext::reset() {
|
||||
DivPlatformYM2608::reset();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue