CMI8x38: Improve CMI8738 variant selection
This commit is contained in:
@@ -146,6 +146,7 @@ extern const device_t cmi8338_device;
|
|||||||
extern const device_t cmi8338_onboard_device;
|
extern const device_t cmi8338_onboard_device;
|
||||||
extern const device_t cmi8738_device;
|
extern const device_t cmi8738_device;
|
||||||
extern const device_t cmi8738_onboard_device;
|
extern const device_t cmi8738_onboard_device;
|
||||||
|
extern const device_t cmi8738_6ch_onboard_device;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /*EMU_SOUND_H*/
|
#endif /*EMU_SOUND_H*/
|
||||||
|
@@ -1376,7 +1376,7 @@ static const device_config_t cmi8x38_config[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const device_config_t cmi8738_config[] = {
|
static const device_config_t cmi8738_config[] = {
|
||||||
{ "six_channel", "MX variant (6-channel)", CONFIG_BINARY, "", 1 },
|
{ "six_channel", "6CH variant (6-channel)", CONFIG_BINARY, "", 1 },
|
||||||
{ "receive_input", "Receive input (MPU-401)", CONFIG_BINARY, "", 1 },
|
{ "receive_input", "Receive input (MPU-401)", CONFIG_BINARY, "", 1 },
|
||||||
{ "", "", -1 }
|
{ "", "", -1 }
|
||||||
};
|
};
|
||||||
@@ -1428,3 +1428,15 @@ const device_t cmi8738_onboard_device = {
|
|||||||
NULL,
|
NULL,
|
||||||
cmi8x38_config
|
cmi8x38_config
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const device_t cmi8738_6ch_onboard_device = {
|
||||||
|
"C-Media CMI8738-6CH (On-Board)",
|
||||||
|
"cmi8738_6ch_onboard",
|
||||||
|
DEVICE_PCI,
|
||||||
|
CMEDIA_CMI8738_6CH | (1 << 13),
|
||||||
|
cmi8x38_init, cmi8x38_close, cmi8x38_reset,
|
||||||
|
{ NULL },
|
||||||
|
cmi8x38_speed_changed,
|
||||||
|
NULL,
|
||||||
|
cmi8x38_config
|
||||||
|
};
|
||||||
|
Reference in New Issue
Block a user