summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tecmo_spr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/tecmo_spr.cpp')
-rw-r--r--src/mame/video/tecmo_spr.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/mame/video/tecmo_spr.cpp b/src/mame/video/tecmo_spr.cpp
index 6bc94adb2a0..2807fdd4e12 100644
--- a/src/mame/video/tecmo_spr.cpp
+++ b/src/mame/video/tecmo_spr.cpp
@@ -35,22 +35,19 @@ void tecmo_spr_device::device_reset()
}
-void tecmo_spr_device::set_gfx_region(device_t &device, int gfxregion)
+void tecmo_spr_device::set_gfx_region(int gfxregion)
{
- tecmo_spr_device &dev = downcast<tecmo_spr_device &>(device);
- dev.m_gfxregion = gfxregion;
+ m_gfxregion = gfxregion;
}
-void tecmo_spr_device::set_bootleg(device_t &device, int bootleg)
+void tecmo_spr_device::set_bootleg(int bootleg)
{
- tecmo_spr_device &dev = downcast<tecmo_spr_device &>(device);
- dev.m_bootleg = bootleg;
+ m_bootleg = bootleg;
}
-void tecmo_spr_device::set_yoffset(device_t &device, int yoffset)
+void tecmo_spr_device::set_yoffset(int yoffset)
{
- tecmo_spr_device &dev = downcast<tecmo_spr_device &>(device);
- dev.m_yoffset = yoffset;
+ m_yoffset = yoffset;
}