--- trunk/src/devices/dev_sgi_ip20.c 2007/10/08 16:18:00 4 +++ trunk/src/devices/dev_sgi_ip20.c 2007/10/08 16:19:11 18 @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * - * $Id: dev_sgi_ip20.c,v 1.10 2005/02/22 05:52:58 debug Exp $ + * $Id: dev_sgi_ip20.c,v 1.11 2005/10/26 14:37:04 debug Exp $ * * SGI IP20 stuff. */ @@ -52,7 +52,8 @@ /* struct sgi_ip20_data *d = (struct sgi_ip20_data *) extra; */ uint64_t idata = 0, odata = 0; - idata = memory_readmax64(cpu, data, len); + if (writeflag == MEM_WRITE) + idata = memory_readmax64(cpu, data, len); switch (relative_addr) { case 0x38: