mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
Fix 02763: some leland.c sets: Access Violation
This commit is contained in:
parent
2d981a3be7
commit
f7484cda13
@ -410,7 +410,7 @@ MACHINE_RESET( leland )
|
||||
memory_set_bankptr(machine, 3, &slave_base[0x10000]);
|
||||
|
||||
/* if we have an I80186 CPU, reset it */
|
||||
if (cpu_get_type(machine->cpu[2]) == CPU_I80186)
|
||||
if (machine->cpu[2] != NULL && cpu_get_type(machine->cpu[2]) == CPU_I80186)
|
||||
leland_80186_sound_init();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user