--- trunk/src/devices/dev_dc7085.c 2007/10/08 16:19:05 17 +++ trunk/src/devices/dev_dc7085.c 2007/10/08 16:19:11 18 @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * - * $Id: dev_dc7085.c,v 1.49 2005/02/22 20:18:30 debug Exp $ + * $Id: dev_dc7085.c,v 1.50 2005/10/26 14:37:03 debug Exp $ * * DC7085 serial controller, used in some DECstation models. */ @@ -172,7 +172,8 @@ int i; struct dc_data *d = extra; - idata = memory_readmax64(cpu, data, len); + if (writeflag == MEM_WRITE) + idata = memory_readmax64(cpu, data, len); /* Always clear: */ d->regs.dc_csr &= ~CSR_CLR;