Set default device speed for floppy, cdrom and disk to 'full'.
This commit is contained in:
parent
823ba769fb
commit
792c5bdec2
@ -283,6 +283,7 @@ usb_cbi_device_c::usb_cbi_device_c(const char *filename)
|
||||
|
||||
d.type = USB_DEV_TYPE_FLOPPY;
|
||||
d.maxspeed = USB_SPEED_FULL;
|
||||
d.speed = d.maxspeed;
|
||||
memset((void*)&s, 0, sizeof(s));
|
||||
strcpy(d.devname, "BOCHS USB CBI FLOPPY");
|
||||
strcpy(tmpfname, filename);
|
||||
|
@ -252,6 +252,7 @@ usb_msd_device_c::usb_msd_device_c(usbdev_type type, const char *filename)
|
||||
|
||||
d.type = type;
|
||||
d.maxspeed = USB_SPEED_SUPER;
|
||||
d.speed = USB_SPEED_FULL;
|
||||
memset((void*)&s, 0, sizeof(s));
|
||||
if (d.type == USB_DEV_TYPE_DISK) {
|
||||
strcpy(d.devname, "BOCHS USB HARDDRIVE");
|
||||
|
Loading…
Reference in New Issue
Block a user