Mercurial > repos > blastem
diff psg.h @ 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 | 0d1d5dccdd28 |
children |
line wrap: on
line diff
--- a/psg.h Mon Dec 12 21:49:51 2022 -0800 +++ b/psg.h Mon Dec 12 22:26:56 2022 -0800 @@ -33,7 +33,7 @@ void psg_init(psg_context * context, uint32_t master_clock, uint32_t clock_div); -void psg_enable_scope(psg_context *context, oscilloscope *scope); +void psg_enable_scope(psg_context *context, oscilloscope *scope, uint32_t master_clock); void psg_free(psg_context *context); void psg_adjust_master_clock(psg_context * context, uint32_t master_clock); void psg_write(psg_context * context, uint8_t value);