mirror of
https://github.com/holub/mame
synced 2025-05-24 14:56:21 +03:00
Build the IDE features table only when there is a CHD available.
This commit is contained in:
parent
48c82a5e97
commit
97f52a02ed
@ -1790,10 +1790,10 @@ static DEVICE_START( ide_controller )
|
|||||||
ide->num_heads = hdinfo->heads;
|
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);
|
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 */
|
/* build the features page */
|
||||||
ide_build_features(ide);
|
ide_build_features(ide);
|
||||||
|
}
|
||||||
|
|
||||||
/* create a timer for timing status */
|
/* create a timer for timing status */
|
||||||
ide->last_status_timer = timer_alloc(device->machine, NULL, NULL);
|
ide->last_status_timer = timer_alloc(device->machine, NULL, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user