diff options
| author | 2009-04-02 12:06:40 +0000 | |
|---|---|---|
| committer | 2009-04-02 12:06:40 +0000 | |
| commit | 97f52a02ed61499b6f86cdb912afa41e03b6e4ce (patch) | |
| tree | 2fed35f335f6b2fd901762c30bd36038913a6074 | |
| parent | 48c82a5e97f107e84acb724bb33fa658441c6c3c (diff) | |
Build the IDE features table only when there is a CHD available.
| -rw-r--r-- | src/emu/machine/idectrl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/machine/idectrl.c b/src/emu/machine/idectrl.c index b27ede7ca06..ba5f962c197 100644 --- a/src/emu/machine/idectrl.c +++ b/src/emu/machine/idectrl.c @@ -1790,10 +1790,10 @@ static DEVICE_START( ide_controller ) ide->num_heads = hdinfo->heads; if (PRINTF_IDE_COMMANDS) mame_printf_debug("CHS: %d %d %d\n", ide->num_cylinders, ide->num_heads, ide->num_sectors); } - } - /* build the features page */ - ide_build_features(ide); + /* build the features page */ + ide_build_features(ide); + } /* create a timer for timing status */ ide->last_status_timer = timer_alloc(device->machine, NULL, NULL); |
