Mercurial > repos > blastem
comparison genesis.c @ 1308:1b3fe6e03e7b
Reset YM2612 whenver the Z80 is reset. Fixes issue with stuck notes in Fantastic Dizzy and Kid Chameleon
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 30 Mar 2017 23:57:30 -0700 |
parents | 5b90d7669eee |
children | 46f5ca0a9e76 |
comparison
equal
deleted
inserted
replaced
1307:3cdc4e33a2c4 | 1308:1b3fe6e03e7b |
---|---|
583 if (z80_enabled) { | 583 if (z80_enabled) { |
584 z80_assert_reset(gen->z80, context->current_cycle); | 584 z80_assert_reset(gen->z80, context->current_cycle); |
585 } else { | 585 } else { |
586 gen->z80->reset = 1; | 586 gen->z80->reset = 1; |
587 } | 587 } |
588 ym_reset(gen->ym); | |
588 } | 589 } |
589 } | 590 } |
590 } | 591 } |
591 } | 592 } |
592 return context; | 593 return context; |