Previous 15994 Revisions Next

r4452 Thursday 2nd April, 2009 at 12:07:34 UTC by Curt Coder
Build the IDE feature table only when there is a CHD available.
[src/emu/machine]idectrl.c

src/emu/machine/idectrl.c
r4451r4452
17901790         ide->num_heads = hdinfo->heads;
17911791         if (PRINTF_IDE_COMMANDS) mame_printf_debug("CHS: %d %d %d\n", ide->num_cylinders, ide->num_heads, ide->num_sectors);
17921792      }
1793
1794      /* build the features page */
1795      ide_build_features(ide);
17931796   }
17941797
1795   /* build the features page */
1796   ide_build_features(ide);
1797
17981798   /* create a timer for timing status */
17991799   ide->last_status_timer = timer_alloc(device->machine, NULL, NULL);
18001800   ide->reset_timer = timer_alloc(device->machine, reset_callback, (void *)device);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team