summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/decodmd2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/decodmd2.h')
-rw-r--r--src/mame/video/decodmd2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/decodmd2.h b/src/mame/video/decodmd2.h
index 3c39f5bc636..0d0d69d1a2b 100644
--- a/src/mame/video/decodmd2.h
+++ b/src/mame/video/decodmd2.h
@@ -16,7 +16,7 @@
#define MCFG_DECODMD_TYPE2_ADD(_tag, _region) \
MCFG_DEVICE_ADD(_tag, DECODMD2, 0) \
- decodmd_type2_device::static_set_gfxregion(*device, _region);
+ downcast<decodmd_type2_device &>(*device).set_gfxregion(_region);
class decodmd_type2_device : public device_t
{
@@ -35,7 +35,7 @@ public:
DECLARE_READ8_MEMBER(status_r);
DECLARE_WRITE8_MEMBER(status_w);
- static void static_set_gfxregion(device_t &device, const char *tag);
+ void set_gfxregion(const char *tag);
void decodmd2_map(address_map &map);
protected: