Fixed IDE storage class identification.

This commit is contained in:
TC1995
2022-02-06 22:37:11 +01:00
parent e985f1ce75
commit 74ce65183c

View File

@@ -536,6 +536,7 @@ static void ide_hd_identify(ide_t *ide)
ide_padstr((char *) (ide->buffer + 10), "", 20); /* Serial Number */
ide_padstr((char *) (ide->buffer + 23), EMU_VERSION_EX, 8); /* Firmware */
ide_padstr((char *) (ide->buffer + 27), device_identify, 40); /* Model */
ide->buffer[0] = (1 << 6); /*Fixed drive*/
ide->buffer[20] = 3; /*Buffer type*/
ide->buffer[21] = 512; /*Buffer size*/
ide->buffer[50] = 0x4000; /* Capabilities */