From 2a5b20e2c7ac5c08cbb32979068756b7b39ac4d5 Mon Sep 17 00:00:00 2001 From: smf- Date: Sun, 12 Aug 2018 14:12:51 +0100 Subject: Partially revert 3b48aed0bf4b94474a0f848b5e4e2d536343bfd6, the variables can stay unsigned (nw) --- src/mame/audio/wswan.h | 4 ++-- 1 file 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 */ -- cgit v1.2.3