diff options
Diffstat (limited to 'src/devices/machine/ram.cpp')
-rw-r--r-- | src/devices/machine/ram.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/devices/machine/ram.cpp b/src/devices/machine/ram.cpp index 49ff027ed0f..a57f144ae0d 100644 --- a/src/devices/machine/ram.cpp +++ b/src/devices/machine/ram.cpp @@ -12,8 +12,8 @@ #include <ctype.h> #include "emu.h" -#include "emuopts.h" #include "ram.h" +#include "emuopts.h" /***************************************************************************** @@ -21,17 +21,15 @@ *****************************************************************************/ // device type definition -const device_type RAM = device_creator<ram_device>; +DEFINE_DEVICE_TYPE(RAM, ram_device, "ram", "RAM") -template class device_finder<ram_device, false>; -template class device_finder<ram_device, true>; //------------------------------------------------- // ram_device - constructor //------------------------------------------------- ram_device::ram_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, RAM, "RAM", tag, owner, clock, "ram", __FILE__) + : device_t(mconfig, RAM, tag, owner, clock) { m_size = 0; m_default_size = nullptr; |