summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Aaron Giles <aaron@aarongiles.com>2008-12-22 05:38:43 +0000
committerGravatarGravatar Aaron Giles <aaron@aarongiles.com>2008-12-22 05:38:43 +0000
commit6c4013134fe994e5e7568766b978a2587f68b3a5 (patch)
tree152a87b42f9b701a4ad44cec74ff8563c4ff2402
parenta2081bb2b1b6113b9df1898ec00180d9c2c77ad3 (diff)
Fixed validity checks for MC6845.mame0128u7
-rw-r--r--src/emu/video/mc6845.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/video/mc6845.c b/src/emu/video/mc6845.c
index bc033e5babb..5377e5ee9d1 100644
--- a/src/emu/video/mc6845.c
+++ b/src/emu/video/mc6845.c
@@ -871,7 +871,7 @@ static DEVICE_VALIDITY_CHECK( mc6845 )
int error = FALSE;
const mc6845_interface *intf = (const mc6845_interface *) device->static_config;
- if (intf != NULL)
+ if (intf != NULL && intf->screen_tag != NULL)
{
if (device->clock <= 0)
{