src/memory.c

changeset 117
73caf968b67b
parent 116
21521e62007f
child 119
101fe02456ce
     1.1 --- a/src/memory.c	Sat Nov 17 22:26:53 2012 +0000
     1.2 +++ b/src/memory.c	Tue Nov 20 23:31:03 2012 +0000
     1.3 @@ -386,11 +386,13 @@
     1.4  				state.dma_reading = (data & 0x4000);
     1.5  				if (state.leds != ((~data & 0xF00) >> 8)) {
     1.6  					state.leds = (~data & 0xF00) >> 8;
     1.7 +#ifdef SHOW_LEDS
     1.8  					printf("LEDs: %s %s %s %s\n",
     1.9  							(state.leds & 8) ? "R" : "-",
    1.10  							(state.leds & 4) ? "G" : "-",
    1.11  							(state.leds & 2) ? "Y" : "-",
    1.12  							(state.leds & 1) ? "R" : "-");
    1.13 +#endif
    1.14  				}
    1.15  				handled = true;
    1.16  				break;