| Previous | 15994 Revisions | Next |
| r12124 Thursday 30th June, 2011 at 10:43:33 UTC by Miodrag Milanović |
|---|
| Fix for UI in case of empty slot device list (no whatsnew) |
| [src/emu] | uimenu.c |
| r12123 | r12124 | |
|---|---|---|
| 1552 | 1552 | int idx = ui_slot_get_current_index(machine, slot) - 1; |
| 1553 | 1553 | if (idx==-1) return ""; |
| 1554 | 1554 | if (idx==-2) idx = ui_slot_get_length(machine,slot) -1; |
| 1555 | if (idx==-1) return ""; | |
| 1555 | 1556 | return slot->get_slot_interfaces()[idx].name; |
| 1556 | 1557 | } |
| 1557 | 1558 |
| Previous | 15994 Revisions | Next |