src/emu/uimain.c
| r15090 | r15091 | |
| 738 | 738 | for (field = port->first_field(); field != NULL; field = field->next()) |
| 739 | 739 | { |
| 740 | 740 | const char *name = field->name(); |
| 741 | int this_inputclass = field->type_class(); |
| 741 | 742 | |
| 742 | 743 | /* add if we match the group and we have a valid name */ |
| 743 | 744 | if (name != NULL && field->enabled() && |
| 744 | | ((field->type() == IPT_OTHER && field->name() != NULL) || machine().ioport().type_group(field->type(), field->player()) != IPG_INVALID)) |
| 745 | //((field->type() == IPT_OTHER && field->name() != NULL) || machine().ioport().type_group(field->type(), field->player()) != IPG_INVALID)) |
| 746 | (this_inputclass != INPUT_CLASS_CONFIG) && (this_inputclass != INPUT_CLASS_DIPSWITCH)) |
| 745 | 747 | { |
| 746 | 748 | input_seq_type seqtype; |
| 747 | 749 | UINT16 sortorder; |