mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
Fixed remaining crash regressions from recent changes.
This commit is contained in:
parent
59975ceb55
commit
e643a688b3
@ -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,
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
|
||||
|
@ -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));
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user