summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/expro02.cpp
diff options
context:
space:
mode:
authorGravatarGravatar wilbertpol <wilbertpol@users.noreply.github.com>2018-02-20 08:29:34 +0100
committerGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-02-20 08:29:34 +0100
commit9b3008b0aea2f7425d3ef8125c835f02cffc1e6c (patch) (github)
treef79e0feb9e844b43087c9495ae79eba497057b7f /src/mame/drivers/expro02.cpp
parent0d9494480ac4a89310dd10df64ee2b23432a63e3 (diff)
downloadmame-9b3008b0aea2f7425d3ef8125c835f02cffc1e6c.tar.bz2
mame-9b3008b0aea2f7425d3ef8125c835f02cffc1e6c.zip
de-staticify initializations for src/mame/video (nw) (#3246)
Diffstat (limited to 'src/mame/drivers/expro02.cpp')
-rw-r--r--src/mame/drivers/expro02.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/expro02.cpp b/src/mame/drivers/expro02.cpp
index 2e27f905203..37b59c6e7e4 100644
--- a/src/mame/drivers/expro02.cpp
+++ b/src/mame/drivers/expro02.cpp
@@ -920,13 +920,13 @@ MACHINE_CONFIG_START(expro02_state::expro02)
MCFG_PALETTE_INIT_OWNER(expro02_state, expro02)
MCFG_DEVICE_ADD("view2_0", KANEKO_TMAP, 0)
- kaneko_view2_tilemap_device::set_gfx_region(*device, 1);
- kaneko_view2_tilemap_device::set_offset(*device, 0x5b, 0x8, 256, 224);
+ MCFG_KANEKO_TMAP_GFX_REGION(1)
+ MCFG_KANEKO_TMAP_OFFSET(0x5b, 0x8, 256, 224)
MCFG_KANEKO_TMAP_GFXDECODE("gfxdecode")
MCFG_DEVICE_ADD_VU002_SPRITES
- kaneko16_sprite_device::set_priorities(*device, 8,8,8,8); // above all (not verified)
- kaneko16_sprite_device::set_offsets(*device, 0, -0x40);
+ MCFG_KANEKO16_SPRITE_PRIORITIES(8,8,8,8) // above all (not verified)
+ MCFG_KANEKO16_SPRITE_OFFSETS(0, -0x40)
MCFG_KANEKO16_SPRITE_GFXDECODE("gfxdecode")
MCFG_DEVICE_ADD("calc1_mcu", KANEKO_HIT, 0)
@@ -958,8 +958,8 @@ MACHINE_CONFIG_START(expro02_state::comad)
MCFG_DEVICE_MODIFY("view2_0")
// these values might not be correct, behavior differs from original boards
- kaneko_view2_tilemap_device::set_invert_flip(*device, 1);
- kaneko_view2_tilemap_device::set_offset(*device, -256, -216, 256, 224);
+ MCFG_KANEKO_TMAP_INVERT_FLIP(1)
+ MCFG_KANEKO_TMAP_OFFSET(-256, -216, 256, 224)
MCFG_WATCHDOG_MODIFY("watchdog")
MCFG_WATCHDOG_TIME_INIT(attotime::from_seconds(0)) /* a guess, and certainly wrong */