mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 02:18:20 -07:00
ISA PnP: Add the missing else in isapnp_enable_card().
This commit is contained in:
@@ -1196,7 +1196,7 @@ isapnp_enable_card(void *priv, uint8_t enable)
|
||||
if ((card->enable) && (dev->current_ld_card != NULL) && (dev->current_ld_card != card)) {
|
||||
dev->current_ld = NULL;
|
||||
dev->current_ld_card = NULL;
|
||||
} if (!card->enable) {
|
||||
} else if (!card->enable) {
|
||||
if (dev->isolated_card == card)
|
||||
dev->isolated_card = NULL;
|
||||
if ((dev->current_ld_card == card) && (old_enable != ISAPNP_CARD_FORCE_CONFIG)) {
|
||||
|
||||
Reference in New Issue
Block a user