diff options
Diffstat (limited to 'src/mame/video/k037122.h')
-rw-r--r-- | src/mame/video/k037122.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/k037122.h b/src/mame/video/k037122.h index dd0dff6f216..7a3656bbe99 100644 --- a/src/mame/video/k037122.h +++ b/src/mame/video/k037122.h @@ -11,8 +11,8 @@ class k037122_device : public device_t, public: k037122_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - // static configuration - static void static_set_gfx_index(device_t &device, int index) { downcast<k037122_device &>(device).m_gfx_index = index; } + // configuration + void set_gfx_index(int index) { m_gfx_index = index; } void tile_draw( screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect ); DECLARE_READ32_MEMBER( sram_r ); |