Mercurial > repos > blastem
comparison genesis.c @ 2255:74112041b2c7
Proper calculation of sample rate for YM2612/PSG oscilloscope view
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 12 Dec 2022 22:26:56 -0800 |
parents | 8b88d57d1218 |
children | 94cca8b8429e |
comparison
equal
deleted
inserted
replaced
2254:8b88d57d1218 | 2255:74112041b2c7 |
---|---|
1731 cd->pcm.scope = NULL; | 1731 cd->pcm.scope = NULL; |
1732 } | 1732 } |
1733 scope_close(scope); | 1733 scope_close(scope); |
1734 } else { | 1734 } else { |
1735 oscilloscope *scope = create_oscilloscope(); | 1735 oscilloscope *scope = create_oscilloscope(); |
1736 ym_enable_scope(gen->ym, scope); | 1736 ym_enable_scope(gen->ym, scope, gen->normal_clock); |
1737 psg_enable_scope(gen->psg, scope); | 1737 psg_enable_scope(gen->psg, scope, gen->normal_clock); |
1738 if (gen->expansion) { | 1738 if (gen->expansion) { |
1739 segacd_context *cd = gen->expansion; | 1739 segacd_context *cd = gen->expansion; |
1740 rf5c164_enable_scope(&cd->pcm, scope); | 1740 rf5c164_enable_scope(&cd->pcm, scope); |
1741 } | 1741 } |
1742 } | 1742 } |