Search
lxdream.org :: lxdream/src/sh4/sh4core.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.c
changeset 302:96b5cc24309c
prev273:48eb3304a41e
next312:2c34bdc36cbd
author nkeynes
date Wed Jan 17 21:27:20 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Rename SPUDMA to G2DMA (following KOS's lead)
Remove sh4r.icount (obsolete)
Rewrite G2 fifo status in terms of slice cycles
file annotate diff log raw
1.1 --- a/src/sh4/sh4core.c Thu Jan 11 12:14:11 2007 +0000
1.2 +++ b/src/sh4/sh4core.c Wed Jan 17 21:27:20 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: sh4core.c,v 1.38 2007-01-11 12:14:11 nkeynes Exp $
1.6 + * $Id: sh4core.c,v 1.39 2007-01-17 21:27:20 nkeynes Exp $
1.7 *
1.8 * SH4 emulation core, and parent module for all the SH4 peripheral
1.9 * modules.
1.10 @@ -205,7 +205,6 @@
1.11 TMU_run_slice( nanosecs );
1.12 SCIF_run_slice( nanosecs );
1.13 }
1.14 - sh4r.icount += sh4r.slice_cycle / sh4_cpu_period;
1.15 return nanosecs;
1.16 }
1.17
1.18 @@ -491,7 +490,6 @@
1.19 ir = sh4_icache[(pc&0xFFF)>>1];
1.20 }
1.21 }
1.22 - sh4r.icount++;
1.23
1.24 switch( (ir&0xF000)>>12 ) {
1.25 case 0: /* 0000nnnnmmmmxxxx */
.