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)

This commit is contained in:
smf- 2014-01-22 13:22:55 +00:00
parent 6b04d984cc
commit 24f1903f15

View File

@ -45,6 +45,7 @@ READ16_MEMBER( ata_flash_pccard_device::read_memory )
{ {
if(offset <= 7) if(offset <= 7)
{ {
m_8bit_data_transfers = !ACCESSING_BITS_8_15; // HACK
return read_cs0(space, offset, mem_mask); return read_cs0(space, offset, mem_mask);
} }
else if(offset <= 15) else if(offset <= 15)
@ -61,6 +62,7 @@ WRITE16_MEMBER( ata_flash_pccard_device::write_memory )
{ {
if(offset <= 7) if(offset <= 7)
{ {
m_8bit_data_transfers = !ACCESSING_BITS_8_15; // HACK
write_cs0(space, offset, data, mem_mask); write_cs0(space, offset, data, mem_mask);
} }
else if( offset <= 15) else if( offset <= 15)