mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
fix building with clang on windows (extraneous parenthesis warning) (nw)
This commit is contained in:
parent
aae91778cb
commit
e8bbf9c239
@ -606,9 +606,9 @@ static int num_lock = 0;
|
||||
|
||||
|
||||
static inline void OPL3_SLOT_CONNECT(OPL3 *chip, OPL3_SLOT *slot) {
|
||||
if ((slot->conn_enum == CONN_NULL)) {
|
||||
if (slot->conn_enum == CONN_NULL) {
|
||||
slot->connect = nullptr;
|
||||
} else if ((slot->conn_enum >= CONN_CHAN0) && (slot->conn_enum < CONN_PHASEMOD)) {
|
||||
} else if (slot->conn_enum >= CONN_CHAN0 && slot->conn_enum < CONN_PHASEMOD) {
|
||||
slot->connect = &chip->chanout[slot->conn_enum];
|
||||
} else if (slot->conn_enum == CONN_PHASEMOD) {
|
||||
slot->connect = &chip->phase_modulation;
|
||||
|
Loading…
Reference in New Issue
Block a user