diff options
Diffstat (limited to 'src/devices/sound/sn76477.cpp')
-rw-r--r-- | src/devices/sound/sn76477.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/sound/sn76477.cpp b/src/devices/sound/sn76477.cpp index 402db065d51..bc89db04447 100644 --- a/src/devices/sound/sn76477.cpp +++ b/src/devices/sound/sn76477.cpp @@ -199,9 +199,9 @@ sn76477_device::sn76477_device(const machine_config &mconfig, const char *tag, d m_mixer_c(0), m_envelope_1(0), m_envelope_2(0), - m_channel(NULL), + m_channel(nullptr), m_our_sample_rate(0), - m_file(NULL) + m_file(nullptr) { } @@ -265,13 +265,13 @@ void sn76477_device::device_stop() #undef max #undef min -INLINE double max(double a, double b) +static inline double max(double a, double b) { return (a > b) ? a : b; } -INLINE double min(double a, double b) +static inline double min(double a, double b) { return (a < b) ? a : b; } |