summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/saa1099.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/saa1099.h')
-rw-r--r--src/devices/sound/saa1099.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/sound/saa1099.h b/src/devices/sound/saa1099.h
index 1452bdcb93c..c6b7382e38e 100644
--- a/src/devices/sound/saa1099.h
+++ b/src/devices/sound/saa1099.h
@@ -54,12 +54,15 @@ private:
struct saa1099_noise
{
- saa1099_noise() { }
+ saa1099_noise() { (void)pad; }
/* vars to simulate the noise generator output */
double counter = 0.0;
double freq = 0.0;
u32 level = 0xffffffffU; // noise polynomial shifter
+
+ private:
+ u32 pad; // pad out structure to multiple of sizeof(double)
};
void envelope_w(int ch);