From 8a686cebfe7cdbc5213bbe1ae7f2d5c8daa157c7 Mon Sep 17 00:00:00 2001 From: smf- Date: Tue, 1 Oct 2013 23:51:19 +0000 Subject: [PATCH] fixed mametesters 05317 [smf] --- src/emu/machine/ataflash.c | 2 ++ src/emu/machine/idehd.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emu/machine/ataflash.c b/src/emu/machine/ataflash.c index 9efd4e29af3..bf07904fa84 100644 --- a/src/emu/machine/ataflash.c +++ b/src/emu/machine/ataflash.c @@ -122,6 +122,8 @@ bool ata_flash_pccard_device::is_ready() void ata_flash_pccard_device::process_command() { + m_buffer_size = IDE_DISK_SECTOR_SIZE; + switch (m_command) { case IDE_COMMAND_TAITO_GNET_UNLOCK_1: diff --git a/src/emu/machine/idehd.c b/src/emu/machine/idehd.c index 9fa72e0b930..4b6cbb25081 100644 --- a/src/emu/machine/idehd.c +++ b/src/emu/machine/idehd.c @@ -769,7 +769,6 @@ void ide_hdd_device::device_reset() UINT32 metalength; if (m_handle->read_metadata (HARD_DISK_IDENT_METADATA_TAG, 0, m_buffer, 512, metalength) == CHDERR_NONE) { - printf( "identify from chd\n" ); for( int w = 0; w < 256; w++ ) { m_identify_buffer[w] = (m_buffer[(w * 2) + 1] << 8) | m_buffer[w * 2];