Search
lxdream.org :: lxdream/src/sh4/sh4mem.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4mem.c
changeset 828:b42865f00fb5
prev740:dd11269ee48b
next905:4c17ebd9ef5e
author nkeynes
date Mon Aug 25 09:15:42 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Silence the SCIF + SDRAM warnings for now
file annotate diff log raw
1.1 --- a/src/sh4/sh4mem.c Wed Jul 16 10:40:10 2008 +0000
1.2 +++ b/src/sh4/sh4mem.c Mon Aug 25 09:15:42 2008 +0000
1.3 @@ -114,7 +114,12 @@
1.4 case 0x16000000: mmu_utlb_addr_write( addr, val ); break;
1.5 case 0x17000000: mmu_utlb_data_write( addr, val ); break;
1.6 default:
1.7 - WARN( "Attempted write to unknown P4 region: %08X", addr );
1.8 + if( (addr & 0xFFFF0000 ) == 0xFF940000 ||
1.9 + (addr & 0xFFFF0000 ) == 0xFF900000 ) {
1.10 + // SDRAM configuration, ignore for now
1.11 + } else {
1.12 + WARN( "Attempted write to unknown P4 region: %08X", addr );
1.13 + }
1.14 }
1.15 } else {
1.16 TRACE_P4IO( "Long write %08X => %08X", io, (addr&0xFFF), val, addr );
.