summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/c140.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/c140.cpp')
-rw-r--r--src/devices/sound/c140.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/sound/c140.cpp b/src/devices/sound/c140.cpp
index 6649f53616a..6e5ff8321bf 100644
--- a/src/devices/sound/c140.cpp
+++ b/src/devices/sound/c140.cpp
@@ -74,7 +74,7 @@ const device_type C140 = &device_creator<c140_device>;
// LIVE DEVICE
//**************************************************************************
-INLINE int limit(INT32 in)
+static inline int limit(INT32 in)
{
if(in>0x7fff) return 0x7fff;
else if(in<-0x8000) return -0x8000;
@@ -90,12 +90,12 @@ c140_device::c140_device(const machine_config &mconfig, const char *tag, device_
: device_t(mconfig, C140, "C140", tag, owner, clock, "c140", __FILE__),
device_sound_interface(mconfig, *this),
m_sample_rate(0),
- m_stream(NULL),
+ m_stream(nullptr),
m_banking_type(0),
- m_mixer_buffer_left(NULL),
- m_mixer_buffer_right(NULL),
+ m_mixer_buffer_left(nullptr),
+ m_mixer_buffer_right(nullptr),
m_baserate(0),
- m_pRom(NULL)
+ m_pRom(nullptr)
{
memset(m_REG, 0, sizeof(UINT8)*0x200);
memset(m_pcmtbl, 0, sizeof(INT16)*8);