summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/k053250.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/k053250.h')
-rw-r--r--src/mame/video/k053250.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/k053250.h b/src/mame/video/k053250.h
index 3365c7f4dbe..c0f54a4d0bd 100644
--- a/src/mame/video/k053250.h
+++ b/src/mame/video/k053250.h
@@ -14,7 +14,7 @@
MCFG_DEVICE_ADD(_tag, K053250, 0) \
MCFG_GFX_PALETTE(_palette_tag) \
MCFG_VIDEO_SET_SCREEN(_screen_tag) \
- k053250_device::static_set_offsets(*device, offx, offy);
+ downcast<k053250_device &>(*device).set_offsets(offx, offy);
class k053250_device : public device_t,
public device_gfx_interface,
@@ -23,7 +23,7 @@ class k053250_device : public device_t,
public:
k053250_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- static void static_set_offsets(device_t &device, int offx, int offy);
+ void set_offsets(int offx, int offy);
DECLARE_READ16_MEMBER(reg_r);
DECLARE_WRITE16_MEMBER(reg_w);