Fixed crash when selecting no sound card.
Fixed number of heads when creating a new hard disc for drive C.
This commit is contained in:
parent
c4860ab55c
commit
8ad8d1e2f9
2 changed files with 3 additions and 1 deletions
|
|
@ -63,6 +63,8 @@ device_t *sound_card_getdevice(int card)
|
|||
|
||||
int sound_card_has_config(int card)
|
||||
{
|
||||
if (!sound_cards[card].device)
|
||||
return 0;
|
||||
return sound_cards[card].device->config ? 1 : 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue