mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
apricot: Add support to install io space device maps to expansion bus
This commit is contained in:
parent
2d3c2599a6
commit
b1d6d76bdf
@ -118,6 +118,14 @@ public:
|
||||
|
||||
void install_ram(offs_t addrstart, offs_t addrend, void *baseptr);
|
||||
|
||||
template<typename T> void install_io_device(offs_t addrstart, offs_t addrend, T &device, void (T::*map)(class address_map &map), uint64_t unitmask = ~u64(0))
|
||||
{
|
||||
m_io->install_device(addrstart, addrend, device, map, unitmask);
|
||||
|
||||
if (m_io_iop)
|
||||
m_io_iop->install_device(addrstart, addrend, device, map, unitmask);
|
||||
}
|
||||
|
||||
protected:
|
||||
// device-level overrides
|
||||
virtual void device_start() override;
|
||||
|
Loading…
Reference in New Issue
Block a user