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

src/emu/addrmap.c
r9797r9798
5454      m_tag = NULL;
5555   else if (strcmp(tag, DEVICE_SELF) == 0)
5656      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   }
5762   else
5863      m_tag = devconfig.siblingtag(m_derived_tag, tag);
5964}
src/emu/addrmap.h
r9797r9798
10821082// use this to refer to the owning device when providing a device tag
10831083static const char DEVICE_SELF[] = "";
10841084
1085// use this to refer to the owning device's owner when providing a device tag
1086static const char DEVICE_SELF_OWNER[] = "^";
10851087
1088
10861089#endif   /* __ADDRMAP_H__ */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team