mirror of
https://github.com/sarah-walker-pcem/pcem.git
synced 2025-07-23 03:33:02 +02:00
committed by
GitHub
parent
78e7875fe9
commit
49525fcd5c
@@ -73,7 +73,7 @@ device_t *sound_card_getdevice(int card) {
|
||||
}
|
||||
|
||||
int sound_card_has_config(int card) {
|
||||
if (sound_cards[card] != NULL || !sound_cards[card]->device)
|
||||
if (sound_cards[card] == NULL || sound_cards[card]->device == NULL)
|
||||
return 0;
|
||||
return sound_cards[card]->device->config ? 1 : 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user