mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
Fix the compile.
This commit is contained in:
parent
70d8b5deb8
commit
be34c21276
@ -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()
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user