fix small typos in WriteMem32

Fri, 04 Mar 2011 01:37:42 +0000

author
Philip Pemberton <philpem@philpem.me.uk>
date
Fri, 04 Mar 2011 01:37:42 +0000
changeset 105
343250338d23
parent 104
b12651d8a0ab
child 106
dc7ae6e6c3aa

fix small typos in WriteMem32

WriteMem32 warnings for writes to MapRAM and VRAM mirrors were incorrectly declaring themselves as read operations.

src/memory.c file | annotate | diff | revisions
     1.1 diff -r b12651d8a0ab -r 343250338d23 src/memory.c
     1.2 --- a/src/memory.c	Fri Mar 04 01:36:30 2011 +0000
     1.3 +++ b/src/memory.c	Fri Mar 04 01:37:42 2011 +0000
     1.4 @@ -787,11 +787,11 @@
     1.5  		// I/O register space, zone A
     1.6  		switch (address & 0x0F0000) {
     1.7  			case 0x000000:				// Map RAM access
     1.8 -				if (address > 0x4007FF) fprintf(stderr, "NOTE: RD32 from MapRAM mirror, addr=0x%08X\n", address);
     1.9 +				if (address > 0x4007FF) fprintf(stderr, "NOTE: WR32 to MapRAM mirror, addr=0x%08X\n", address);
    1.10  				WR32(state.map, address, 0x7FF, value);
    1.11  				break;
    1.12  			case 0x020000:				// Video RAM
    1.13 -				if (address > 0x427FFF) fprintf(stderr, "NOTE: RD32 from VideoRAM mirror, addr=0x%08X\n", address);
    1.14 +				if (address > 0x427FFF) fprintf(stderr, "NOTE: WR32 to VideoRAM mirror, addr=0x%08X\n", address);
    1.15  				WR32(state.vram, address, 0x7FFF, value);
    1.16  				break;
    1.17  			default: