Fixes views without device (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2011-10-04 13:13:04 +00:00
parent 5793dd0a43
commit 86676fd04c

View File

@ -66,7 +66,7 @@ debug_view_source::debug_view_source(const char *name, device_t *device)
m_is_octal(false) m_is_octal(false)
{ {
device_execute_interface *intf; device_execute_interface *intf;
if (device->interface(intf)) if (device && device->interface(intf))
m_is_octal = intf->is_octal(); m_is_octal = intf->is_octal();
} }