Previous 15994 Revisions Next

r3796 Tuesday 9th December, 2008 at 07:40:14 UTC by Curt Coder
[ATARIST] Used mc68901 from driver state.
[src/mess/drivers]atarist.c

src/mess/drivers/atarist.c
r3795r3796
13791379
13801380static IRQ_CALLBACK( atarist_int_ack )
13811381{
1382//   atarist_state *state = device->machine->driver_data;
1382   atarist_state *state = device->machine->driver_data;
13831383
1384   const device_config *mc68901 = device_list_find_by_tag(device->machine->config->devicelist, MC68901, MC68901_TAG);
1385
13861384   if (irqline == M68K_IRQ_6)
13871385   {
1388      return mc68901_get_vector(mc68901);
1386      return mc68901_get_vector(state->mc68901);
13891387   }
13901388
13911389   return M68K_INT_ACK_AUTOVECTOR;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team