diff --git a/src/disk/hdc_ide.c b/src/disk/hdc_ide.c index 889058198..2b2ca6852 100644 --- a/src/disk/hdc_ide.c +++ b/src/disk/hdc_ide.c @@ -9,7 +9,7 @@ * Implementation of the IDE emulation for hard disks and ATAPI * CD-ROM devices. * - * Version: @(#)hdc_ide.c 1.0.40 2018/03/18 + * Version: @(#)hdc_ide.c 1.0.41 2018/03/20 * * Authors: Sarah Walker, * Miran Grca, @@ -503,6 +503,7 @@ static void ide_atapi_zip_identify(IDE *ide) uint8_t zip_id; int32_t d; + memset(ide->buffer, 0, 512); zip_id = atapi_zip_drives[ide->channel]; /* Using (2<<5) below makes the ASUS P/I-P54TP4XE misdentify the ZIP drive