src/emu/image.c
| r11083 | r11084 | |
| 155 | 155 | |
| 156 | 156 | static void image_options_extract(running_machine &machine) |
| 157 | 157 | { |
| 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 */ |
| 160 | 160 | { |
| 161 | 161 | int index = 0; |
| 162 | 162 | device_image_interface *image = NULL; |
| r11083 | r11084 | |
| 168 | 168 | /* and set the option */ |
| 169 | 169 | astring error; |
| 170 | 170 | machine.options().set_value(image->image_config().instance_name(), filename ? filename : "", OPTION_PRIORITY_CMDLINE, error); |
| 171 | | assert(!error); |
| 172 | 171 | |
| 173 | 172 | index++; |
| 174 | 173 | } |