Mercurial > repos > blastem
comparison ym2612.h @ 535:aaa77e351c24
Better emulation of the YM-2612 busy flag
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 13 Feb 2014 00:55:01 -0800 |
parents | 7df7f493b3b6 |
children | 2317bdca03b4 |
comparison
equal
deleted
inserted
replaced
534:c641006da28e | 535:aaa77e351c24 |
---|---|
65 uint32_t clock_inc; | 65 uint32_t clock_inc; |
66 uint32_t buffer_pos; | 66 uint32_t buffer_pos; |
67 uint32_t sample_rate; | 67 uint32_t sample_rate; |
68 uint32_t sample_limit; | 68 uint32_t sample_limit; |
69 uint32_t current_cycle; | 69 uint32_t current_cycle; |
70 //TODO: Condense the next two fields into one | |
70 uint32_t write_cycle; | 71 uint32_t write_cycle; |
72 uint32_t busy_cycles; | |
71 ym_operator operators[NUM_OPERATORS]; | 73 ym_operator operators[NUM_OPERATORS]; |
72 ym_channel channels[NUM_CHANNELS]; | 74 ym_channel channels[NUM_CHANNELS]; |
73 uint16_t timer_a; | 75 uint16_t timer_a; |
74 uint16_t timer_a_load; | 76 uint16_t timer_a_load; |
75 uint16_t timer_b; | 77 uint16_t timer_b; |