mirror of
https://github.com/holub/mame
synced 2025-05-22 05:38:52 +03:00
Fix crash if exit scheduled before cpus ready.e.g. clicking close on window. No whatsnew.
This commit is contained in:
parent
bec93ce35b
commit
6605a2e3e5
@ -224,6 +224,7 @@ INLINE void eat_all_cpu_cycles(running_machine *machine)
|
||||
{
|
||||
const device_config *cpu;
|
||||
|
||||
if(machine->cpuexec_data)
|
||||
for (cpu = machine->firstcpu; cpu != NULL; cpu = cpu_next(cpu))
|
||||
cpu_eat_cycles(cpu, 1000000000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user