summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2020-09-22 21:34:55 -0400
committer arbee <rb6502@users.noreply.github.com>2020-09-22 21:34:55 -0400
commitbe34c212767b5885b304aa3f31faed8f2e706731 (patch)
treeffeff8075a6f04eb11a675bdbb420fa6e08e2d88
parent70d8b5deb8c64d2249b80b3c85b9f812edbfa938 (diff)
Fix the compile.
-rw-r--r--src/devices/sound/fmopl.cpp4
-rw-r--r--src/devices/sound/ymf262.cpp3
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)