summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/decodmd2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/decodmd2.cpp')
-rw-r--r--src/mame/video/decodmd2.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/video/decodmd2.cpp b/src/mame/video/decodmd2.cpp
index 287d38c07d6..f86e4d256c3 100644
--- a/src/mame/video/decodmd2.cpp
+++ b/src/mame/video/decodmd2.cpp
@@ -188,8 +188,7 @@ void decodmd_type2_device::device_reset()
m_busy = false;
}
-void decodmd_type2_device::static_set_gfxregion(device_t &device, const char *tag)
+void decodmd_type2_device::set_gfxregion(const char *tag)
{
- decodmd_type2_device &cpuboard = downcast<decodmd_type2_device &>(device);
- cpuboard.m_gfxtag = tag;
+ m_gfxtag = tag;
}