Previous 15994 Revisions Next

r11084 Tuesday 5th April, 2011 at 12:26:00 UTC by Miodrag Milanović
Fixed assert on multiple driver startup (no whatsnew)
[src/emu]image.c

src/emu/image.c
r11083r11084
155155
156156static void image_options_extract(running_machine &machine)
157157{
158   /* only extract the device options if we've added them */
159//  if (machine.options().bool_value(OPTION_ADDED_DEVICE_OPTIONS))
158   /* only extract the device options if we've added them
159      no need to assert in case they are missing */
160160   {
161161      int index = 0;
162162      device_image_interface *image = NULL;
r11083r11084
168168         /* and set the option */
169169         astring error;
170170         machine.options().set_value(image->image_config().instance_name(), filename ? filename : "", OPTION_PRIORITY_CMDLINE, error);
171         assert(!error);
172171
173172         index++;
174173      }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team