diff options
Diffstat (limited to 'libmachdev')
-rw-r--r-- | libmachdev/ds_routines.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c index 65cefa3a..df9146a0 100644 --- a/libmachdev/ds_routines.c +++ b/libmachdev/ds_routines.c @@ -430,7 +430,8 @@ void mach_device_init() dev_class = ports_create_class (0, 0); for (i = 0; i < NUM_EMULATION; i++) { - emulation_list[i]->init(); + if (emulation_list[i]->init) + emulation_list[i]->init(); } } |