src/main.c

changeset 25
49526038b0fb
parent 24
724d2f6deb37
child 26
fef12817c5e8
     1.1 diff -r 724d2f6deb37 -r 49526038b0fb src/main.c
     1.2 --- a/src/main.c	Wed Dec 01 22:11:06 2010 +0000
     1.3 +++ b/src/main.c	Wed Dec 01 22:15:41 2010 +0000
     1.4 @@ -157,6 +157,14 @@
     1.5  			case 0xE43000:	state.romlmap = ((value & 0x8000) == 0x8000); break;	// GCR3: ROMLMAP
     1.6  			default:		printf("WR16 0x%08X ==> 0x%04X\n", address, value); break;
     1.7  		}
     1.8 +		if (address == 0x4A0000) {
     1.9 +			printf("\tLED WRITE: %s %s %s %s\n",
    1.10 +					value & 0x800 ? "-" : "R",
    1.11 +					value & 0x400 ? "-" : "G",
    1.12 +					value & 0x200 ? "-" : "Y",
    1.13 +					value & 0x100 ? "-" : "R"
    1.14 +					);
    1.15 +		}
    1.16  	}
    1.17  }
    1.18