diff options
author | smf- <smf-@users.noreply.github.com> | 2018-08-12 14:12:51 +0100 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2018-08-12 14:13:24 +0100 |
commit | 2a5b20e2c7ac5c08cbb32979068756b7b39ac4d5 (patch) | |
tree | 72996858abb672f22fecf292ff67aadf840467a9 | |
parent | 691f915b21b2c7d28d487b6dfd44ea45f083bdb6 (diff) |
Partially revert 3b48aed0bf4b94474a0f848b5e4e2d536343bfd6, the variables can stay unsigned (nw)
-rw-r--r-- | src/mame/audio/wswan.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/wswan.h b/src/mame/audio/wswan.h index 2e1e473e632..d04301ac868 100644 --- a/src/mame/audio/wswan.h +++ b/src/mame/audio/wswan.h @@ -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 */ |