summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/kaneko_spr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/kaneko_spr.cpp')
-rw-r--r--src/mame/video/kaneko_spr.cpp23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/mame/video/kaneko_spr.cpp b/src/mame/video/kaneko_spr.cpp
index 67021ac58a7..106e74a7b63 100644
--- a/src/mame/video/kaneko_spr.cpp
+++ b/src/mame/video/kaneko_spr.cpp
@@ -28,12 +28,19 @@
#include "kaneko_spr.h"
#include "screen.h"
-//const device_type KANEKO16_SPRITE = device_creator<kaneko16_sprite_device>; // we have pure virtual functions
const device_type KANEKO_VU002_SPRITE = device_creator<kaneko_vu002_sprite_device>;
const device_type KANEKO_KC002_SPRITE = device_creator<kaneko_kc002_sprite_device>;
-kaneko16_sprite_device::kaneko16_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, device_type type)
- : device_t(mconfig, type, "Kaneko 16-bit Sprites", tag, owner, clock, "kaneko16_sprite", __FILE__)
+kaneko16_sprite_device::kaneko16_sprite_device(
+ const machine_config &mconfig,
+ device_type type,
+ const char *name,
+ const char *tag,
+ device_t *owner,
+ uint32_t clock,
+ const char *shortname,
+ const char *source)
+ : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
, device_video_interface(mconfig, *this)
, m_gfxdecode(*this, finder_base::DUMMY_TAG)
{
@@ -116,12 +123,6 @@ void kaneko16_sprite_device::set_offsets(device_t &device, int xoffs, int yoffs)
}
-
-
-
-
-
-
/***************************************************************************
Sprites Drawing
@@ -618,12 +619,12 @@ void kaneko16_sprite_device::kaneko16_render_sprites_common(_BitmapClass &bitmap
}
kaneko_vu002_sprite_device::kaneko_vu002_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : kaneko16_sprite_device(mconfig, tag, owner, clock, KANEKO_VU002_SPRITE)
+ : kaneko16_sprite_device(mconfig, KANEKO_VU002_SPRITE, "Kaneko VU002 Sprites", tag, owner, clock, "kaneko_vu002", __FILE__)
{
}
kaneko_kc002_sprite_device::kaneko_kc002_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : kaneko16_sprite_device(mconfig, tag, owner, clock, KANEKO_KC002_SPRITE)
+ : kaneko16_sprite_device(mconfig, KANEKO_KC002_SPRITE, "Kaneko KC002 Sprites", tag, owner, clock, "kaneko_kc002", __FILE__)
{
}