Whoops, missed a couple of NULL functions.

This commit is contained in:
Aaron Giles 2011-02-06 07:17:18 +00:00
parent 0e627f1a54
commit 4526f1b3a9
8 changed files with 13 additions and 13 deletions

View File

@ -66,7 +66,7 @@ static TIMER_CALLBACK( delayed_sound_w )
cpu_triggerint(machine->device("audiocpu")); cpu_triggerint(machine->device("audiocpu"));
/* use a timer to make long transfers faster */ /* use a timer to make long transfers faster */
machine->scheduler().timer_set(attotime::from_usec(50), FUNC(0)); machine->scheduler().timer_set(attotime::from_usec(50), FUNC(NULL));
} }

View File

@ -2262,7 +2262,7 @@ static int linecounter = 0;
static TIMER_DEVICE_CALLBACK( scanline_timer_callback ) static TIMER_DEVICE_CALLBACK( scanline_timer_callback )
{ {
int current_scanline=param; int current_scanline=param;
timer.machine->scheduler().synchronize(FUNC(0)); timer.machine->scheduler().synchronize();
if (current_scanline==0) if (current_scanline==0)

View File

@ -752,7 +752,7 @@ static READ32_HANDLER( kovsh_arm7_protlatch_r )
{ {
pgm_state *state = space->machine->driver_data<pgm_state>(); pgm_state *state = space->machine->driver_data<pgm_state>();
space->machine->scheduler().synchronize(FUNC(0)); // force resync space->machine->scheduler().synchronize(); // force resync
return (state->kovsh_highlatch_68k_w << 16) | (state->kovsh_lowlatch_68k_w); return (state->kovsh_highlatch_68k_w << 16) | (state->kovsh_lowlatch_68k_w);
} }
@ -761,7 +761,7 @@ static WRITE32_HANDLER( kovsh_arm7_protlatch_w )
{ {
pgm_state *state = space->machine->driver_data<pgm_state>(); pgm_state *state = space->machine->driver_data<pgm_state>();
space->machine->scheduler().synchronize(FUNC(0)); // force resync space->machine->scheduler().synchronize(); // force resync
if (ACCESSING_BITS_16_31) if (ACCESSING_BITS_16_31)
{ {
@ -779,7 +779,7 @@ static READ16_HANDLER( kovsh_68k_protlatch_r )
{ {
pgm_state *state = space->machine->driver_data<pgm_state>(); pgm_state *state = space->machine->driver_data<pgm_state>();
space->machine->scheduler().synchronize(FUNC(0)); // force resync space->machine->scheduler().synchronize(); // force resync
switch (offset) switch (offset)
{ {
@ -793,7 +793,7 @@ static WRITE16_HANDLER( kovsh_68k_protlatch_w )
{ {
pgm_state *state = space->machine->driver_data<pgm_state>(); pgm_state *state = space->machine->driver_data<pgm_state>();
space->machine->scheduler().synchronize(FUNC(0)); // force resync space->machine->scheduler().synchronize(); // force resync
switch (offset) switch (offset)
{ {

View File

@ -637,7 +637,7 @@ static WRITE16_HANDLER(wheelfir_snd_w)
wheelfir_state *state = space->machine->driver_data<wheelfir_state>(); wheelfir_state *state = space->machine->driver_data<wheelfir_state>();
COMBINE_DATA(&state->soundlatch); COMBINE_DATA(&state->soundlatch);
cputag_set_input_line(space->machine, "subcpu", 1, HOLD_LINE); /* guess, tested also with periodic interrupts and latch clear*/ cputag_set_input_line(space->machine, "subcpu", 1, HOLD_LINE); /* guess, tested also with periodic interrupts and latch clear*/
space->machine->scheduler().synchronize(FUNC(0)); space->machine->scheduler().synchronize();
} }
static READ16_HANDLER( wheelfir_snd_r ) static READ16_HANDLER( wheelfir_snd_r )
@ -721,7 +721,7 @@ INPUT_PORTS_END
static TIMER_DEVICE_CALLBACK( scanline_timer_callback ) static TIMER_DEVICE_CALLBACK( scanline_timer_callback )
{ {
wheelfir_state *state = timer.machine->driver_data<wheelfir_state>(); wheelfir_state *state = timer.machine->driver_data<wheelfir_state>();
timer.machine->scheduler().synchronize(FUNC(0)); timer.machine->scheduler().synchronize();
state->current_scanline=param; state->current_scanline=param;
if(state->current_scanline<NUM_SCANLINES) if(state->current_scanline<NUM_SCANLINES)

View File

@ -790,7 +790,7 @@ WRITE16_HANDLER( hd68k_adsp_data_w )
if (offset == 0x1fff) if (offset == 0x1fff)
{ {
logerror("%06X:ADSP sync address written (%04X)\n", cpu_get_previouspc(space->cpu), data); logerror("%06X:ADSP sync address written (%04X)\n", cpu_get_previouspc(space->cpu), data);
space->machine->scheduler().synchronize(FUNC(0)); space->machine->scheduler().synchronize();
cpu_triggerint(state->adsp); cpu_triggerint(state->adsp);
} }
else else

View File

@ -8246,7 +8246,7 @@ static TIMER_DEVICE_CALLBACK( scanline_timer_callback )
top-left of the screen. The first scanline is scanline 0 (we set scanline to -1 in top-left of the screen. The first scanline is scanline 0 (we set scanline to -1 in
VIDEO_EOF) */ VIDEO_EOF) */
timer.machine->scheduler().synchronize(FUNC(0)); timer.machine->scheduler().synchronize();
/* Compensate for some rounding errors /* Compensate for some rounding errors
When the counter reaches 261 we should have reached the end of the frame, however due When the counter reaches 261 we should have reached the end of the frame, however due

View File

@ -136,7 +136,7 @@ static TIMER_CALLBACK( delayed_gamma_w )
cputag_set_input_line(machine, "gamma", INPUT_LINE_NMI, PULSE_LINE); cputag_set_input_line(machine, "gamma", INPUT_LINE_NMI, PULSE_LINE);
/* the sound CPU needs to reply in 250microseconds (according to Neil Bradley) */ /* the sound CPU needs to reply in 250microseconds (according to Neil Bradley) */
machine->scheduler().timer_set(attotime::from_usec(250), FUNC(0)); machine->scheduler().timer_set(attotime::from_usec(250), FUNC(NULL));
} }

View File

@ -302,7 +302,7 @@ READ16_HANDLER( midxunit_uart_r )
int temp = midwunit_sound_state_r(space, 0, 0xffff); int temp = midwunit_sound_state_r(space, 0, 0xffff);
result |= (temp & 0x800) >> 9; result |= (temp & 0x800) >> 9;
result |= (~temp & 0x400) >> 10; result |= (~temp & 0x400) >> 10;
space->machine->scheduler().synchronize(FUNC(0)); space->machine->scheduler().synchronize();
} }
break; break;
@ -329,7 +329,7 @@ READ16_HANDLER( midxunit_uart_r )
int temp = midwunit_sound_state_r(space, 0, 0xffff); int temp = midwunit_sound_state_r(space, 0, 0xffff);
result |= (temp & 0x800) >> 11; result |= (temp & 0x800) >> 11;
result |= (~temp & 0x400) >> 8; result |= (~temp & 0x400) >> 8;
space->machine->scheduler().synchronize(FUNC(0)); space->machine->scheduler().synchronize();
} }
break; break;