From be34c212767b5885b304aa3f31faed8f2e706731 Mon Sep 17 00:00:00 2001 From: arbee Date: Tue, 22 Sep 2020 21:34:55 -0400 Subject: Fix the compile. --- src/devices/sound/fmopl.cpp | 4 ++-- src/devices/sound/ymf262.cpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/devices/sound/fmopl.cpp b/src/devices/sound/fmopl.cpp index 9aa33637b71..cb4d5ae686e 100644 --- a/src/devices/sound/fmopl.cpp +++ b/src/devices/sound/fmopl.cpp @@ -1498,7 +1498,7 @@ const int8_t FM_OPL::lfo_pm_table[8*8*2] = { int FM_OPL::num_lock = 0; - +#if 0 static inline int limit( int val, int max, int min ) { if ( val > max ) val = max; @@ -1507,7 +1507,7 @@ static inline int limit( int val, int max, int min ) { return val; } - +#endif /* generic table initialize */ int FM_OPL::init_tables() diff --git a/src/devices/sound/ymf262.cpp b/src/devices/sound/ymf262.cpp index 857203a24ec..708970a7c0b 100644 --- a/src/devices/sound/ymf262.cpp +++ b/src/devices/sound/ymf262.cpp @@ -639,6 +639,7 @@ static inline void OPL3_SLOT_CONNECT(OPL3 *chip, OPL3_SLOT *slot) { } } +#if 0 static inline int limit( int val, int max, int min ) { if ( val > max ) val = max; @@ -647,7 +648,7 @@ static inline int limit( int val, int max, int min ) { return val; } - +#endif /* status set and IRQ handling */ static inline void OPL3_STATUS_SET(OPL3 *chip,int flag) -- cgit v1.2.3