| Previous | 15994 Revisions | Next |
| r9798 Monday 20th December, 2010 at 19:16:09 UTC by Curt Coder |
|---|
| Synced with MAME. |
| [src/emu] | addrmap.c addrmap.h |
| r9797 | r9798 | |
|---|---|---|
| 54 | 54 | m_tag = NULL; |
| 55 | 55 | else if (strcmp(tag, DEVICE_SELF) == 0) |
| 56 | 56 | m_tag = devconfig.tag(); |
| 57 | else if (strcmp(tag, DEVICE_SELF_OWNER) == 0) | |
| 58 | { | |
| 59 | assert(devconfig.owner() != NULL); | |
| 60 | m_tag = devconfig.owner()->tag(); | |
| 61 | } | |
| 57 | 62 | else |
| 58 | 63 | m_tag = devconfig.siblingtag(m_derived_tag, tag); |
| 59 | 64 | } |
| r9797 | r9798 | |
|---|---|---|
| 1082 | 1082 | // use this to refer to the owning device when providing a device tag |
| 1083 | 1083 | static const char DEVICE_SELF[] = ""; |
| 1084 | 1084 | |
| 1085 | // use this to refer to the owning device's owner when providing a device tag | |
| 1086 | static const char DEVICE_SELF_OWNER[] = "^"; | |
| 1085 | 1087 | |
| 1088 | ||
| 1086 | 1089 | #endif /* __ADDRMAP_H__ */ |
| Previous | 15994 Revisions | Next |