Fixed remaining crash regressions from recent changes.

This commit is contained in:
Aaron Giles 2008-12-13 07:01:40 +00:00
parent 59975ceb55
commit e643a688b3
4 changed files with 5 additions and 3 deletions

View File

@ -62,7 +62,7 @@ enum
enum
{
CPUINFO_PTR_SH4_FTCSR_READ_CALLBACK = CPUINFO_PTR_CPU_SPECIFIC,
CPUINFO_PTR_SH4_FTCSR_READ_CALLBACK = CPUINFO_FCT_CPU_SPECIFIC,
CPUINFO_PTR_SH4_EXTERNAL_DDT_DMA,
};

View File

@ -142,6 +142,8 @@ enum
CPUINFO_PTR_DEBUG_INIT, /* R/O: void (*debug_init)(const device_config *device) */
CPUINFO_PTR_VALIDITY_CHECK, /* R/O: int (*validity_check)(const game_driver *driver, const void *config) */
CPUINFO_FCT_CPU_SPECIFIC = DEVINFO_FCT_DEVICE_SPECIFIC, /* R/W: CPU-specific values start here */
/* --- the following bits of info are returned as NULL-terminated strings --- */
CPUINFO_STR_FIRST = DEVINFO_STR_FIRST,

View File

@ -889,7 +889,7 @@ static int snd_68k_ready_r(const address_space *space)
static void snd_latch_to_68k_w(const address_space *space, int data)
{
while (!snd_68k_ready_r(space))
if (!snd_68k_ready_r(space))
{
cpu_spinuntil_time(space->cpu, ATTOTIME_IN_USEC(40));
}

View File

@ -268,7 +268,7 @@ static INTERRUPT_GEN( mcu_interrupt )
{
if( namcond1_h8_irq5_enabled )
{
cpu_set_input_line(device, H8_IRQ5, PULSE_LINE);
generic_pulse_irq_line(device, H8_IRQ5);
}
}