src/mess/drivers/atarist.c
| r3795 | r3796 | |
| 1379 | 1379 | |
| 1380 | 1380 | static IRQ_CALLBACK( atarist_int_ack ) |
| 1381 | 1381 | { |
| 1382 | | // atarist_state *state = device->machine->driver_data; |
| 1382 | atarist_state *state = device->machine->driver_data; |
| 1383 | 1383 | |
| 1384 | | const device_config *mc68901 = device_list_find_by_tag(device->machine->config->devicelist, MC68901, MC68901_TAG); |
| 1385 | | |
| 1386 | 1384 | if (irqline == M68K_IRQ_6) |
| 1387 | 1385 | { |
| 1388 | | return mc68901_get_vector(mc68901); |
| 1386 | return mc68901_get_vector(state->mc68901); |
| 1389 | 1387 | } |
| 1390 | 1388 | |
| 1391 | 1389 | return M68K_INT_ACK_AUTOVECTOR; |