From cc24a339d8c0517259084b5c178d784626ba965c Mon Sep 17 00:00:00 2001 From: ImJezze Date: Sun, 21 Feb 2016 11:48:45 +0100 Subject: Merge remote-tracking branch 'refs/remotes/mamedev/master' Second attempt --- src/emu/dimemory.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/emu/dimemory.h') 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 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__ */ -- cgit v1.2.3-70-g09d2