Return ports number in probe now
This commit is contained in:
parent
2fedf11160
commit
19ffb14005
@ -45,7 +45,10 @@ attach_adlib_card (long mem_start, struct address_info *hw_config)
|
||||
int
|
||||
probe_adlib (struct address_info *hw_config)
|
||||
{
|
||||
return opl3_detect (FM_MONO);
|
||||
if (opl3_detect (FM_MONO))
|
||||
return 4;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -307,7 +307,10 @@ probe_sb16midi (struct address_info *hw_config)
|
||||
ok = reset_sb16midi ();
|
||||
|
||||
sb16midi_detected = ok;
|
||||
return ok;
|
||||
if (ok)
|
||||
return 2;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user