summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/x1_010.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/x1_010.h')
-rw-r--r--src/devices/sound/x1_010.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/sound/x1_010.h b/src/devices/sound/x1_010.h
index a7add7b2057..bc928a44228 100644
--- a/src/devices/sound/x1_010.h
+++ b/src/devices/sound/x1_010.h
@@ -11,7 +11,7 @@ public:
x1_010_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// static configuration
- static void set_address(device_t &device, int addr) { downcast<x1_010_device &>(device).m_adr = addr; }
+ static void set_address_xor(device_t &device, int addr) { downcast<x1_010_device &>(device).m_xor = addr; }
DECLARE_READ8_MEMBER ( read );
DECLARE_WRITE8_MEMBER( write );
@@ -36,7 +36,7 @@ private:
/* Variables only used here */
required_region_ptr<int8_t> m_region; // ROM
int m_rate; // Output sampling rate (Hz)
- int m_adr; // address
+ int m_xor; // address XOR
sound_stream * m_stream; // Stream handle
int m_sound_enable; // sound output enable/disable
uint8_t m_reg[0x2000]; // X1-010 Register & wave form area
@@ -49,8 +49,7 @@ private:
DECLARE_DEVICE_TYPE(X1_010, x1_010_device)
-
-#define MCFG_X1_010_ADDRESS(_addr) \
- x1_010_device::set_address(*device, _addr);
+#define MCFG_X1_010_ADDRESS_XOR(_addr) \
+ x1_010_device::set_address_xor(*device, _addr);
#endif // MAME_SOUND_X1_010_H