Devices can now be marked as not working, and disabled in release builds.
Video card menu now build dynamically from list.
This commit is contained in:
parent
7416a24e99
commit
657aa19dd1
39 changed files with 183 additions and 133 deletions
|
|
@ -46,10 +46,8 @@ static SOUND_CARD sound_cards[] =
|
|||
int sound_card_available(int card)
|
||||
{
|
||||
if (sound_cards[card].device)
|
||||
{
|
||||
if (sound_cards[card].device->available)
|
||||
return sound_cards[card].device->available();
|
||||
}
|
||||
return device_available(sound_cards[card].device);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue