mirror of
https://github.com/holub/mame
synced 2025-05-10 08:12:13 +03:00
Fixes views without device (no whatsnew)
This commit is contained in:
parent
5793dd0a43
commit
86676fd04c
@ -66,7 +66,7 @@ debug_view_source::debug_view_source(const char *name, device_t *device)
|
||||
m_is_octal(false)
|
||||
{
|
||||
device_execute_interface *intf;
|
||||
if (device->interface(intf))
|
||||
if (device && device->interface(intf))
|
||||
m_is_octal = intf->is_octal();
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user