fix building with clang on windows (extraneous parenthesis warning) (nw)

This commit is contained in:
smf- 2017-03-29 12:11:06 +01:00
parent aae91778cb
commit e8bbf9c239

View File

@ -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;