src/memory.c

changeset 78
c149c13aff1c
parent 72
c66c98c7a768
parent 76
2ef98ea1e944
child 79
674226015c8a
     1.1 --- a/src/memory.c	Wed Dec 29 01:38:54 2010 +0000
     1.2 +++ b/src/memory.c	Wed Dec 29 09:04:43 2010 +0000
     1.3 @@ -438,7 +438,7 @@
     1.4  				break;
     1.5  			case 0x070000:				// Line Printer Status Register
     1.6  				data = 0x00120012;	// no parity error, no line printer error, no irqs from FDD or HDD
     1.7 -				data |= (state.fdc_ctx.irql) ? 0x00080008 : 0;	// FIXME! HACKHACKHACK! shouldn't peek inside FDC structs like this
     1.8 +				data |= wd2797_get_irq(&state.fdc_ctx) ? 0x00080008 : 0;
     1.9  				return data;
    1.10  				break;
    1.11  			case 0x080000:				// Real Time Clock