trunk/src/emu/addrmap.h
| r18620 | r18621 | |
| 390 | 390 | typedef _class drivdata_class; \ |
| 391 | 391 | |
| 392 | 392 | #define DEVICE_ADDRESS_MAP_START(_name, _bits, _class) \ |
| 393 | | void _class :: _name(address_map &map, device_t &device) \ |
| 393 | void _class :: _name(::address_map &map, device_t &device) \ |
| 394 | 394 | { \ |
| 395 | 395 | typedef read##_bits##_delegate read_delegate; \ |
| 396 | 396 | typedef write##_bits##_delegate write_delegate; \ |
| r18620 | r18621 | |
| 407 | 407 | extern void ADDRESS_MAP_NAME(_name)(address_map &map, device_t &device) |
| 408 | 408 | |
| 409 | 409 | // use this to declare an address map as a member of a modern device class |
| 410 | // need to qualify with :: to avoid a collision with descendants of device_memory_interface |
| 410 | 411 | #define DECLARE_ADDRESS_MAP(_name, _bits) \ |
| 411 | | void _name(address_map &map, device_t &device) |
| 412 | void _name(::address_map &map, device_t &device) |
| 412 | 413 | |
| 413 | 414 | |
| 414 | 415 | // global controls |