src/mess/uimess.c
| r2063 | r2064 | |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /* run display routine for device */ |
| 81 | | if (machine->devices) |
| 81 | for (dev = mess_device_first_from_machine(machine); dev != NULL; dev = mess_device_next(dev)) |
| 82 | 82 | { |
| 83 | | for (dev = machine->devices; dev->type < IO_COUNT; dev++) |
| 83 | if (dev->display != NULL) |
| 84 | 84 | { |
| 85 | | if (dev->display) |
| 85 | for (id = 0; id < device_count(dev->type); id++) |
| 86 | 86 | { |
| 87 | | for (id = 0; id < device_count(dev->type); id++) |
| 88 | | { |
| 89 | | mess_image *img = image_from_devtype_and_index(dev->type, id); |
| 90 | | dev->display(img); |
| 91 | | } |
| 87 | mess_image *img = image_from_devtype_and_index(dev->type, id); |
| 88 | dev->display(img); |
| 92 | 89 | } |
| 93 | 90 | } |
| 94 | 91 | } |
| r2063 | r2064 | |
| 116 | 113 | dst += sprintf(dst, "RAM: %s\n\n", ram_string(buf2, mess_ram_size)); |
| 117 | 114 | } |
| 118 | 115 | |
| 119 | | for (dev = Machine->devices; dev->type < IO_COUNT; dev++) |
| 116 | for (dev = mess_device_first_from_machine(Machine); dev != NULL; dev = mess_device_next(dev)) |
| 120 | 117 | { |
| 121 | 118 | for (id = 0; id < dev->count; id++) |
| 122 | 119 | { |