diff options
Diffstat (limited to 'src/devices/sound/x1_010.cpp')
-rw-r--r-- | src/devices/sound/x1_010.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/sound/x1_010.cpp b/src/devices/sound/x1_010.cpp index 7cb8c5540bb..226d956c268 100644 --- a/src/devices/sound/x1_010.cpp +++ b/src/devices/sound/x1_010.cpp @@ -91,7 +91,7 @@ x1_010_device::x1_010_device(const machine_config &mconfig, const char *tag, dev device_sound_interface(mconfig, *this), m_region(*this, DEVICE_SELF), m_rate(0), - m_adr(0), + m_xor(0), m_stream(nullptr), m_sound_enable(0), m_base_clock(0) @@ -143,14 +143,14 @@ void x1_010_device::enable_w(int data) READ8_MEMBER( x1_010_device::read ) { - offset ^= m_adr; + offset ^= m_xor; return m_reg[offset]; } WRITE8_MEMBER( x1_010_device::write ) { int channel, reg; - offset ^= m_adr; + offset ^= m_xor; channel = offset/sizeof(X1_010_CHANNEL); reg = offset%sizeof(X1_010_CHANNEL); |