per-channel oscilloscope, part 7

YM2610 and YM2610B
only TIA is left
This commit is contained in:
tildearrow 2022-05-01 03:47:04 -05:00
parent 415e490025
commit 47f83c0472
12 changed files with 115 additions and 1 deletions

View file

@ -336,13 +336,18 @@ void DivPlatformYM2610BExt::forceIns() {
}
}
void* DivPlatformYM2610BExt::getChanState(int ch) {
if (ch>=6) return &chan[ch-3];
if (ch>=2) return &opChan[ch-2];
return &chan[ch];
}
DivDispatchOscBuffer* DivPlatformYM2610BExt::getOscBuffer(int ch) {
if (ch>=6) return oscBuf[ch-3];
if (ch<3) return oscBuf[ch];
return NULL;
}
void DivPlatformYM2610BExt::reset() {
DivPlatformYM2610B::reset();