--- trunk/src/devices/dev_sgi_ip30.c 2007/10/08 16:19:05 17 +++ trunk/src/devices/dev_sgi_ip30.c 2007/10/08 16:19:11 18 @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * - * $Id: dev_sgi_ip30.c,v 1.17 2005/02/25 06:14:30 debug Exp $ + * $Id: dev_sgi_ip30.c,v 1.18 2005/10/26 14:37:04 debug Exp $ * * SGI IP30 stuff. * @@ -67,7 +67,8 @@ struct sgi_ip30_data *d = (struct sgi_ip30_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 0x20: