summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2008-04-08 00:30:56 +0000
committer Nathan Woods <npwoods@mess.org>2008-04-08 00:30:56 +0000
commit3364fdb2d89378bd471539556fd9f7b506273573 (patch)
treec837eea276bf925dae5d5f2d95670fefa04bcb54
parentee9ce122a9422ff450e9356513cd86be616a205e (diff)
Initializing device_config.machine to NULL
-rw-r--r--src/emu/devintrf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/devintrf.c b/src/emu/devintrf.c
index bcf0d844d11..0380a034e72 100644
--- a/src/emu/devintrf.c
+++ b/src/emu/devintrf.c
@@ -108,6 +108,7 @@ device_config *device_list_add(device_config **listheadptr, device_type type, co
device->static_config = NULL;
device->inline_config = (configlen == 0) ? NULL : (device->tag + strlen(tag) + 1);
device->token = NULL;
+ device->machine = NULL;
strcpy(device->tag, tag);
/* reset the inline_config to 0 */