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",
|
"Status",
|
||||||
"Floppy media status (inserted / ejected)",
|
"Floppy media status (inserted / ejected)",
|
||||||
media_status_names,
|
media_status_names,
|
||||||
BX_INSERTED,
|
BX_EJECTED,
|
||||||
BX_EJECTED);
|
BX_EJECTED);
|
||||||
status->set_ask_format("Is the device inserted or ejected? [%s] ");
|
status->set_ask_format("Is the device inserted or ejected? [%s] ");
|
||||||
|
|
||||||
@ -1301,7 +1301,7 @@ void bx_init_options()
|
|||||||
"Status",
|
"Status",
|
||||||
"CD-ROM media status (inserted / ejected)",
|
"CD-ROM media status (inserted / ejected)",
|
||||||
media_status_names,
|
media_status_names,
|
||||||
BX_INSERTED,
|
BX_EJECTED,
|
||||||
BX_EJECTED);
|
BX_EJECTED);
|
||||||
status->set_ask_format("Is the device inserted or ejected? [%s] ");
|
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",
|
"Status",
|
||||||
"CD-ROM media status (inserted / ejected)",
|
"CD-ROM media status (inserted / ejected)",
|
||||||
media_status_names,
|
media_status_names,
|
||||||
BX_INSERTED,
|
BX_EJECTED,
|
||||||
BX_EJECTED);
|
BX_EJECTED);
|
||||||
status->set_handler(cd_param_handler);
|
status->set_handler(cd_param_handler);
|
||||||
status->set_runtime_param(1);
|
status->set_runtime_param(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user