| Previous | 199869 Revisions | Next |
| r20214 Saturday 12th January, 2013 at 11:54:28 UTC by Fabio Priuli |
|---|
| uimain.c: use slot interface names for filling current values in slot menu, because using command line options produces garbage at least on OS10.6.8. [Fabio Priuli] |
| [src/emu] | uimain.c |
| r20213 | r20214 | |
|---|---|---|
| 425 | 425 | -------------------------------------------------*/ |
| 426 | 426 | const char *ui_menu_slot_devices::get_slot_device(device_slot_interface *slot) |
| 427 | 427 | { |
| 428 | astring temp; | |
| 429 | return machine().options().main_value(temp,slot->device().tag()+1); | |
| 428 | int idx = slot_get_current_index(slot); | |
| 429 | if (idx == -1) | |
| 430 | return ""; | |
| 431 | else | |
| 432 | return slot->get_slot_interfaces()[idx].name; | |
| 430 | 433 | } |
| 431 | 434 | |
| 432 | 435 |
| Previous | 199869 Revisions | Next |