YM2610(B): AY unification

as of now the SSG part of these chips is handled by a DivPlatformAY8910
within the DivPlatformYM2610.
this means less code duplication and therefore prepares for
OPN/OPNA support.
This commit is contained in:
tildearrow 2022-04-06 18:03:30 -05:00
parent 878d3fab1f
commit 2e327953e8
9 changed files with 96 additions and 421 deletions

View file

@ -493,6 +493,10 @@ int DivPlatformAY8910::getRegisterPoolSize() {
return 16;
}
void DivPlatformAY8910::flushWrites() {
while (!writes.empty()) writes.pop();
}
void DivPlatformAY8910::reset() {
while (!writes.empty()) writes.pop();
ay->device_reset();