From 74ce65183ca73e185b5cd5f62d7413817c732f07 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Sun, 6 Feb 2022 22:37:11 +0100 Subject: [PATCH] Fixed IDE storage class identification. --- src/disk/hdc_ide.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/disk/hdc_ide.c b/src/disk/hdc_ide.c index 120f76616..2239e9247 100644 --- a/src/disk/hdc_ide.c +++ b/src/disk/hdc_ide.c @@ -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 */