add reset() for every platform

This commit is contained in:
tildearrow 2021-12-11 13:14:38 -05:00
parent b0139015d0
commit a17e91955a
19 changed files with 157 additions and 98 deletions

View file

@ -472,6 +472,7 @@ int DivPlatformYM2610::dispatch(DivCommand c) {
}
void DivPlatformYM2610::reset() {
while (!writes.empty()) writes.pop();
fm->reset();
for (int i=0; i<13; i++) {
chan[i]=DivPlatformYM2610::Channel();