summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/m50458.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-06-08 01:29:39 +1000
committer Vas Crabb <vas@vastheman.com>2018-06-08 01:29:39 +1000
commit93eaa6a4943ade6513257a740fcde97ca9468559 (patch)
tree1340f2160a7064a839b7ca649b2257489cdd3d6d /src/devices/video/m50458.cpp
parentfafafe7050e4d04230656215b840ac53aad081e7 (diff)
as if millions of this pointers suddenly cried out in terror, and were suddenly silenced
* streamline templates in addrmap.h * get rid of overloads on read/write member names - this will become even more important in the near future
Diffstat (limited to 'src/devices/video/m50458.cpp')
-rw-r--r--src/devices/video/m50458.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/video/m50458.cpp b/src/devices/video/m50458.cpp
index 4544fb3f6c2..41a6bd1651f 100644
--- a/src/devices/video/m50458.cpp
+++ b/src/devices/video/m50458.cpp
@@ -32,14 +32,14 @@ DEFINE_DEVICE_TYPE(M50458, m50458_device, "m50458", "Mitsubishi M50458 OSD")
void m50458_device::m50458_vram(address_map &map)
{
map(0x0000, 0x023f).ram(); // vram
- map(0x0240, 0x0241).w(this, FUNC(m50458_device::vreg_120_w));
- map(0x0242, 0x0243).w(this, FUNC(m50458_device::vreg_121_w));
- map(0x0244, 0x0245).w(this, FUNC(m50458_device::vreg_122_w));
- map(0x0246, 0x0247).w(this, FUNC(m50458_device::vreg_123_w));
- map(0x0248, 0x0249).w(this, FUNC(m50458_device::vreg_124_w));
- map(0x024a, 0x024b).w(this, FUNC(m50458_device::vreg_125_w));
- map(0x024c, 0x024d).w(this, FUNC(m50458_device::vreg_126_w));
- map(0x024e, 0x024f).w(this, FUNC(m50458_device::vreg_127_w));
+ map(0x0240, 0x0241).w(FUNC(m50458_device::vreg_120_w));
+ map(0x0242, 0x0243).w(FUNC(m50458_device::vreg_121_w));
+ map(0x0244, 0x0245).w(FUNC(m50458_device::vreg_122_w));
+ map(0x0246, 0x0247).w(FUNC(m50458_device::vreg_123_w));
+ map(0x0248, 0x0249).w(FUNC(m50458_device::vreg_124_w));
+ map(0x024a, 0x024b).w(FUNC(m50458_device::vreg_125_w));
+ map(0x024c, 0x024d).w(FUNC(m50458_device::vreg_126_w));
+ map(0x024e, 0x024f).w(FUNC(m50458_device::vreg_127_w));
}
// internal GFX ROM (TODO: GFXs in here should be 12x18, not 16x18)