mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
volt_reg: output of 32768 is above mame's sound stream cutoff(-32768 to 32767) (nw)
This commit is contained in:
parent
b909c6e1a3
commit
e284f32669
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user