Partially revert 3b48aed0bf, the variables can stay unsigned (nw)

This commit is contained in:
smf- 2018-08-12 14:12:51 +01:00
parent 691f915b21
commit 2a5b20e2c7

View File

@ -42,7 +42,7 @@ protected:
uint16_t freq; /* frequency */
uint16_t period; /* period */
int32_t pos; /* position */
uint32_t pos; /* position */
uint8_t vol_left; /* volume left */
uint8_t vol_right; /* volume right */
uint8_t on; /* on/off */
@ -71,7 +71,7 @@ private:
CHAN m_audio4; /* Audio channel 4 */
int8_t m_sweep_step; /* Sweep step */
uint32_t m_sweep_time; /* Sweep time */
int32_t m_sweep_count; /* Sweep counter */
uint32_t m_sweep_count; /* Sweep counter */
uint8_t m_noise_type; /* Noise generator type */
uint8_t m_noise_reset; /* Noise reset */
uint8_t m_noise_enable; /* Noise enable */