summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/peb/samsmem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/peb/samsmem.cpp')
-rw-r--r--src/devices/bus/ti99/peb/samsmem.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/ti99/peb/samsmem.cpp b/src/devices/bus/ti99/peb/samsmem.cpp
index c882887061a..dd509e8e3d2 100644
--- a/src/devices/bus/ti99/peb/samsmem.cpp
+++ b/src/devices/bus/ti99/peb/samsmem.cpp
@@ -28,9 +28,9 @@
#include "emu.h"
#include "samsmem.h"
-DEFINE_DEVICE_TYPE_NS(TI99_SAMSMEM, bus::ti99::peb, sams_memory_expansion_device, "ti99_sams", "SuperAMS memory expansion card")
+DEFINE_DEVICE_TYPE(TI99_SAMSMEM, bus::ti99::peb::sams_memory_expansion_device, "ti99_sams", "SuperAMS memory expansion card")
-namespace bus { namespace ti99 { namespace peb {
+namespace bus::ti99::peb {
#define SAMS_CRU_BASE 0x1e00
@@ -112,12 +112,12 @@ void sams_memory_expansion_device::cruwrite(offs_t offset, uint8_t data)
m_crulatch->write_bit((offset & 0x000e) >> 1, data);
}
-WRITE_LINE_MEMBER(sams_memory_expansion_device::access_mapper_w)
+void sams_memory_expansion_device::access_mapper_w(int state)
{
m_access_mapper = state;
}
-WRITE_LINE_MEMBER(sams_memory_expansion_device::map_mode_w)
+void sams_memory_expansion_device::map_mode_w(int state)
{
m_map_mode = state;
}
@@ -144,4 +144,4 @@ void sams_memory_expansion_device::device_reset()
for (auto & elem : m_mapper) elem = 0;
}
-} } } // end namespace bus::ti99::peb
+} // end namespace bus::ti99::peb