diff options
author | 2016-02-21 11:48:45 +0100 | |
---|---|---|
committer | 2016-02-21 11:48:45 +0100 | |
commit | cc24a339d8c0517259084b5c178d784626ba965c (patch) | |
tree | 9868e9687b5802ae0a3733712a3bbeb3bc75c953 /src/emu/dimemory.h | |
parent | b5daabda5495dea5c50e17961ecfed2ea8619d76 (diff) |
Merge remote-tracking branch 'refs/remotes/mamedev/master'
Second attempt
Diffstat (limited to 'src/emu/dimemory.h')
-rw-r--r-- | src/emu/dimemory.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/emu/dimemory.h b/src/emu/dimemory.h index 66561b5a5cf..0998fd4ae9a 100644 --- a/src/emu/dimemory.h +++ b/src/emu/dimemory.h @@ -131,22 +131,4 @@ typedef device_interface_iterator<device_memory_interface> memory_interface_iter -//************************************************************************** -// INLINE HELPERS -//************************************************************************** - -//------------------------------------------------- -// device_get_space_config - return a pointer -// to sthe given address space's configuration -//------------------------------------------------- - -inline const address_space_config *device_get_space_config(const device_t &device, address_spacenum spacenum = AS_0) -{ - const device_memory_interface *intf; - if (!device.interface(intf)) - throw emu_fatalerror("Device '%s' does not have memory interface", device.tag()); - return intf->space_config(spacenum); -} - - #endif /* __DIMEMORY_H__ */ |