--- trunk/src/memory.c 2007/10/08 16:18:38 12 +++ trunk/src/memory.c 2007/10/08 16:18:51 14 @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * - * $Id: memory.c,v 1.175 2005/08/14 15:47:36 debug Exp $ + * $Id: memory.c,v 1.176 2005/08/28 20:16:23 debug Exp $ * * Functions for handling the memory of an emulated machine. */ @@ -294,7 +294,8 @@ for (s=0; sdev_length[i]; s+=cpu->machine->arch_pagesize) cpu->invalidate_translation_caches_paddr - (cpu, mem->dev_baseaddr[i] + s); + (cpu, mem->dev_baseaddr[i] + s, + JUST_MARK_AS_NON_WRITABLE); } if (cpu->machine->arch == ARCH_MIPS) {