diff options
author | 2019-02-19 13:11:22 +0100 | |
---|---|---|
committer | 2019-02-19 13:11:44 +0100 | |
commit | e284f32669b195c64f339d573ff1f7084079e363 (patch) | |
tree | 1e1a6df947aa94c09c968c97ea802dcf49d8b52d /src/devices/sound/volt_reg.h | |
parent | b909c6e1a3ab844f2fb51f97e58f589dadf01643 (diff) |
volt_reg: output of 32768 is above mame's sound stream cutoff(-32768 to 32767) (nw)
Diffstat (limited to 'src/devices/sound/volt_reg.h')
-rw-r--r-- | src/devices/sound/volt_reg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/sound/volt_reg.h b/src/devices/sound/volt_reg.h index a0a5b1e1abb..8667c18c4c1 100644 --- a/src/devices/sound/volt_reg.h +++ b/src/devices/sound/volt_reg.h @@ -17,7 +17,7 @@ class voltage_regulator_device : public device_t, public device_sound_interface { public: - voltage_regulator_device &set_output(double analogue_dc) { m_output = (analogue_dc * 32768) / 5.0f; return *this; } + voltage_regulator_device &set_output(double analogue_dc) { m_output = (analogue_dc * 32767) / 5.0f; return *this; } voltage_regulator_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0); |