comparison ym2612.h @ 403:f0a3f86595ae

Fix YM2612 timers
author Mike Pavone <pavone@retrodev.com>
date Sun, 16 Jun 2013 00:56:23 -0700
parents 72933100c55c
children c3abc4ada43d
comparison
equal deleted inserted replaced
402:de2c085ce174 403:f0a3f86595ae
53 uint32_t write_cycle; 53 uint32_t write_cycle;
54 ym_operator operators[NUM_OPERATORS]; 54 ym_operator operators[NUM_OPERATORS];
55 ym_channel channels[NUM_CHANNELS]; 55 ym_channel channels[NUM_CHANNELS];
56 uint16_t timer_a; 56 uint16_t timer_a;
57 uint16_t timer_a_load; 57 uint16_t timer_a_load;
58 uint16_t timer_b;
59 uint16_t timer_b_load;
58 uint16_t env_counter; 60 uint16_t env_counter;
59 ym_supp ch3_supp[3]; 61 ym_supp ch3_supp[3];
60 uint8_t ch3_mode; 62 uint8_t ch3_mode;
61 uint8_t current_op; 63 uint8_t current_op;
62 uint8_t current_env_op; 64 uint8_t current_env_op;
63 uint8_t timer_b; 65
64 uint8_t timer_b_load;
65 uint8_t timer_control; 66 uint8_t timer_control;
66 uint8_t dac_enable; 67 uint8_t dac_enable;
67 uint8_t status; 68 uint8_t status;
68 uint8_t selected_reg; 69 uint8_t selected_reg;
69 uint8_t selected_part; 70 uint8_t selected_part;