comparison psg.h @ 884:252dfd29831d

Selecting a second game from the menu now works
author Michael Pavone <pavone@retrodev.com>
date Fri, 13 Nov 2015 22:56:59 -0800
parents 9a5dc22297f2
children bd549b25c362
comparison
equal deleted inserted replaced
883:9f149f0e98b7 884:252dfd29831d
31 uint8_t latch; 31 uint8_t latch;
32 } psg_context; 32 } psg_context;
33 33
34 34
35 void psg_init(psg_context * context, uint32_t sample_rate, uint32_t master_clock, uint32_t clock_div, uint32_t samples_frame); 35 void psg_init(psg_context * context, uint32_t sample_rate, uint32_t master_clock, uint32_t clock_div, uint32_t samples_frame);
36 void psg_free(psg_context *context);
36 void psg_adjust_master_clock(psg_context * context, uint32_t master_clock); 37 void psg_adjust_master_clock(psg_context * context, uint32_t master_clock);
37 void psg_write(psg_context * context, uint8_t value); 38 void psg_write(psg_context * context, uint8_t value);
38 void psg_run(psg_context * context, uint32_t cycles); 39 void psg_run(psg_context * context, uint32_t cycles);
39 40
40 #endif //PSG_CONTEXT_H_ 41 #endif //PSG_CONTEXT_H_