mirror of
https://github.com/holub/mame
synced 2025-04-17 22:13:04 +03:00
frontend/mame/infoxml.cpp: Added null check.
This commit is contained in:
parent
25fa1ff89a
commit
c20ff92ac2
@ -830,7 +830,8 @@ void output_one_device(std::ostream &out, machine_config &config, device_t &devi
|
||||
overall_unemulated |= dev.type().unemulated_features();
|
||||
overall_imperfect |= dev.type().imperfect_features();
|
||||
|
||||
devtypes->insert(&device.type());
|
||||
if (devtypes)
|
||||
devtypes->insert(&device.type());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user