mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
Fixed validity checks for MC6845.
This commit is contained in:
parent
a2081bb2b1
commit
6c4013134f
@ -871,7 +871,7 @@ static DEVICE_VALIDITY_CHECK( mc6845 )
|
|||||||
int error = FALSE;
|
int error = FALSE;
|
||||||
const mc6845_interface *intf = (const mc6845_interface *) device->static_config;
|
const mc6845_interface *intf = (const mc6845_interface *) device->static_config;
|
||||||
|
|
||||||
if (intf != NULL)
|
if (intf != NULL && intf->screen_tag != NULL)
|
||||||
{
|
{
|
||||||
if (device->clock <= 0)
|
if (device->clock <= 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user