Changed default initial state of PIC8259 to STATE_READY [Miodrag Milanovic]

This commit is contained in:
Miodrag Milanovic 2010-03-19 15:36:20 +00:00
parent ba555e8b86
commit 11a51a7d33

View File

@ -415,7 +415,7 @@ static DEVICE_START( pic8259 )
static DEVICE_RESET( pic8259 ) {
pic8259_t *pic8259 = get_safe_token(device);
pic8259->state = STATE_ICW1; /* It is unclear from the original code whether this is correct */
pic8259->state = STATE_READY;
pic8259->irq_lines = 0;
pic8259->isr = 0;
pic8259->esr = 0;