From 24f1903f15eb1da58fdb3151c0656aed6c6ec2e1 Mon Sep 17 00:00:00 2001 From: smf- Date: Wed, 22 Jan 2014 13:22:55 +0000 Subject: [PATCH] Added a hack to get taito gnet games working after r27187. More investigation is required to determine whether there is a latch when using 8 bit accesses or whether the limitation of fixed sized transfers is only applicable to the ATA bus and not flash cards that implement the ATA protocol. (nw) --- src/emu/machine/ataflash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emu/machine/ataflash.c b/src/emu/machine/ataflash.c index 62a127997f8..0e0b3221540 100644 --- a/src/emu/machine/ataflash.c +++ b/src/emu/machine/ataflash.c @@ -45,6 +45,7 @@ READ16_MEMBER( ata_flash_pccard_device::read_memory ) { if(offset <= 7) { + m_8bit_data_transfers = !ACCESSING_BITS_8_15; // HACK return read_cs0(space, offset, mem_mask); } else if(offset <= 15) @@ -61,6 +62,7 @@ WRITE16_MEMBER( ata_flash_pccard_device::write_memory ) { if(offset <= 7) { + m_8bit_data_transfers = !ACCESSING_BITS_8_15; // HACK write_cs0(space, offset, data, mem_mask); } else if( offset <= 15)