Search
lxdream.org :: lxdream/src/sh4/cache.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/cache.c
changeset 983:b0d0785aa194
prev980:deb4361928fe
next1067:d3c00ffccfcd
author nkeynes
date Mon Feb 09 00:18:08 2009 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix typo in ocache invalidate
file annotate diff log raw
1.1 --- a/src/sh4/cache.c Wed Feb 04 21:45:21 2009 +0000
1.2 +++ b/src/sh4/cache.c Mon Feb 09 00:18:08 2009 +0000
1.3 @@ -423,7 +423,7 @@
1.4
1.5 if( reg & CCR_OCI ) { /* ocache invalidate */
1.6 for( i=0; i<OCACHE_ENTRY_COUNT; i++ ) {
1.7 - ccn_icache[i].key = -1;
1.8 + ccn_ocache[i].key = -1;
1.9 ccn_ocache[i].tag &= ~(CACHE_VALID|CACHE_DIRTY);
1.10 }
1.11 }
.