comparison ym2612.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 7068a9db6dd0
children f33e8d88ab6f
comparison
equal deleted inserted replaced
883:9f149f0e98b7 884:252dfd29831d
122 REG_ALG_FEEDBACK = 0xB0, 122 REG_ALG_FEEDBACK = 0xB0,
123 REG_LR_AMS_PMS = 0xB4 123 REG_LR_AMS_PMS = 0xB4
124 }; 124 };
125 125
126 void ym_init(ym2612_context * context, uint32_t sample_rate, uint32_t master_clock, uint32_t clock_div, uint32_t sample_limit, uint32_t options); 126 void ym_init(ym2612_context * context, uint32_t sample_rate, uint32_t master_clock, uint32_t clock_div, uint32_t sample_limit, uint32_t options);
127 void ym_free(ym2612_context *context);
127 void ym_adjust_master_clock(ym2612_context * context, uint32_t master_clock); 128 void ym_adjust_master_clock(ym2612_context * context, uint32_t master_clock);
128 void ym_run(ym2612_context * context, uint32_t to_cycle); 129 void ym_run(ym2612_context * context, uint32_t to_cycle);
129 void ym_address_write_part1(ym2612_context * context, uint8_t address); 130 void ym_address_write_part1(ym2612_context * context, uint8_t address);
130 void ym_address_write_part2(ym2612_context * context, uint8_t address); 131 void ym_address_write_part2(ym2612_context * context, uint8_t address);
131 void ym_data_write(ym2612_context * context, uint8_t value); 132 void ym_data_write(ym2612_context * context, uint8_t value);