1.1 --- a/src/sh4/sh4core.c Mon Oct 08 12:09:06 2007 +0000
1.2 +++ b/src/sh4/sh4core.c Thu Nov 08 11:54:16 2007 +0000
1.5 - * $Id: sh4core.c,v 1.49 2007-10-08 12:06:01 nkeynes Exp $
1.6 + * $Id: sh4core.c,v 1.50 2007-11-04 08:49:18 nkeynes Exp $
1.8 * SH4 emulation core, and parent module for all the SH4 peripheral
1.11 ir = sh4_icache[(pc&0xFFF)>>1];
1.13 sh4_icache = (uint16_t *)mem_get_page(pc);
1.14 - if( ((uint32_t)sh4_icache) < MAX_IO_REGIONS ) {
1.15 + if( ((uintptr_t)sh4_icache) < MAX_IO_REGIONS ) {
1.16 /* If someone's actually been so daft as to try to execute out of an IO
1.17 * region, fallback on the full-blown memory read