summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/x1_010.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/x1_010.cpp')
-rw-r--r--src/devices/sound/x1_010.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/sound/x1_010.cpp b/src/devices/sound/x1_010.cpp
index 0ed9168e735..8a599027c24 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
m_region(*this, DEVICE_SELF),
m_rate(0),
m_adr(0),
- m_stream(NULL),
+ m_stream(nullptr),
m_sound_enable(0),
m_base_clock(0)
{
@@ -192,9 +192,9 @@ void x1_010_device::sound_stream_update(sound_stream &stream, stream_sample_t **
{
X1_010_CHANNEL *reg;
int ch, i, volL, volR, freq, div;
- register INT8 *start, *end, data;
- register UINT8 *env;
- register UINT32 smp_offs, smp_step, env_offs, env_step, delta;
+ INT8 *start, *end, data;
+ UINT8 *env;
+ UINT32 smp_offs, smp_step, env_offs, env_step, delta;
// mixer buffer zero clear
memset( outputs[0], 0, samples*sizeof(*outputs[0]) );