1.1 --- a/src/sh4/sh4mem.c Tue Jun 27 11:02:48 2006 +0000
1.2 +++ b/src/sh4/sh4mem.c Tue Aug 29 08:09:51 2006 +0000
1.5 - * $Id: sh4mem.c,v 1.14 2006-06-27 11:02:48 nkeynes Exp $
1.6 + * $Id: sh4mem.c,v 1.15 2006-08-29 08:09:51 nkeynes Exp $
1.7 * sh4mem.c is responsible for the SH4's access to memory (including memory
1.8 * mapped I/O), using the page maps created in mem.c
1.12 if( (addr&0x1F800000) == 0x04000000 ) {
1.13 addr = TRANSLATE_VIDEO_64BIT_ADDRESS(addr);
1.14 + pvr2_render_invalidate(addr);
1.15 + } else if( (addr&0x1F800000) == 0x05000000 ) {
1.16 + pvr2_render_invalidate(addr);
1.19 if( IS_MMU_ENABLED() ) {
1.20 @@ -160,7 +163,11 @@
1.22 if( (addr&0x1F800000) == 0x04000000 ) {
1.23 addr = TRANSLATE_VIDEO_64BIT_ADDRESS(addr);
1.24 + pvr2_render_invalidate(addr);
1.25 + } else if( (addr&0x1F800000) == 0x05000000 ) {
1.26 + pvr2_render_invalidate(addr);
1.30 if( IS_MMU_ENABLED() ) {
1.31 ERROR( "user-mode & mmu translation not implemented, aborting", NULL );
1.32 @@ -193,7 +200,11 @@
1.33 return SIGNEXT8(sh4_read_p4( addr ));
1.34 if( (addr&0x1F800000) == 0x04000000 ) {
1.35 addr = TRANSLATE_VIDEO_64BIT_ADDRESS(addr);
1.36 + pvr2_render_invalidate(addr);
1.37 + } else if( (addr&0x1F800000) == 0x05000000 ) {
1.38 + pvr2_render_invalidate(addr);
1.42 if( IS_MMU_ENABLED() ) {
1.43 ERROR( "user-mode & mmu translation not implemented, aborting", NULL );