| Previous | 199869 Revisions | Next |
| r20990 Tuesday 12th February, 2013 at 18:27:58 UTC by Oliver Stöneberg |
|---|
| fixed crash with -debug when image loading failed (nw) |
| [src/emu/debug] | debugcpu.c |
| r20989 | r20990 | |
|---|---|---|
| 340 | 340 | device_iterator iter(machine.root_device()); |
| 341 | 341 | bool found_comments = false; |
| 342 | 342 | for (device_t *device = iter.first(); device != NULL; device = iter.next()) |
| 343 | if (device->debug()->comment_count() > 0) | |
| 343 | if (device->debug() && device->debug()->comment_count() > 0) | |
| 344 | 344 | { |
| 345 | 345 | // create a node for this device |
| 346 | 346 | xml_data_node *curnode = xml_add_child(systemnode, "cpu", NULL); |
| Previous | 199869 Revisions | Next |