Set the initial status of removable devices to BX_EJECTED (fixes headerbar buttons)
This commit is contained in:
parent
38e292a261
commit
c0d3cdb5c5
@ -1154,7 +1154,7 @@ void bx_init_options()
|
||||
"Status",
|
||||
"Floppy media status (inserted / ejected)",
|
||||
media_status_names,
|
||||
BX_INSERTED,
|
||||
BX_EJECTED,
|
||||
BX_EJECTED);
|
||||
status->set_ask_format("Is the device inserted or ejected? [%s] ");
|
||||
|
||||
@ -1301,7 +1301,7 @@ void bx_init_options()
|
||||
"Status",
|
||||
"CD-ROM media status (inserted / ejected)",
|
||||
media_status_names,
|
||||
BX_INSERTED,
|
||||
BX_EJECTED,
|
||||
BX_EJECTED);
|
||||
status->set_ask_format("Is the device inserted or ejected? [%s] ");
|
||||
|
||||
|
@ -182,7 +182,7 @@ usb_msd_device_c::usb_msd_device_c(usbdev_type type, const char *filename)
|
||||
"Status",
|
||||
"CD-ROM media status (inserted / ejected)",
|
||||
media_status_names,
|
||||
BX_INSERTED,
|
||||
BX_EJECTED,
|
||||
BX_EJECTED);
|
||||
status->set_handler(cd_param_handler);
|
||||
status->set_runtime_param(1);
|
||||
|
Loading…
Reference in New Issue
Block a user