diff options
Diffstat (limited to 'src/devices/machine/laserdsc.cpp')
-rw-r--r-- | src/devices/machine/laserdsc.cpp | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/src/devices/machine/laserdsc.cpp b/src/devices/machine/laserdsc.cpp index 72ac3d42ab4..301eb39b2d3 100644 --- a/src/devices/machine/laserdsc.cpp +++ b/src/devices/machine/laserdsc.cpp @@ -207,100 +207,6 @@ uint32_t laserdisc_device::screen_update(screen_device &screen, bitmap_rgb32 &bi } -//------------------------------------------------- -// static_set_get_disc - set the get disc -// delegate -//------------------------------------------------- - -void laserdisc_device::static_set_get_disc(device_t &device, get_disc_delegate &&callback) -{ - downcast<laserdisc_device &>(device).m_getdisc_callback = std::move(callback); -} - - -//------------------------------------------------- -// static_set_get_disc - set the audio interceptor -// delegate -//------------------------------------------------- - -void laserdisc_device::static_set_audio(device_t &device, audio_delegate &&callback) -{ - downcast<laserdisc_device &>(device).m_audio_callback = std::move(callback); -} - - -//------------------------------------------------- -// static_set_overlay - set the overlay parameters -//------------------------------------------------- - -void laserdisc_device::static_set_overlay(device_t &device, uint32_t width, uint32_t height, screen_update_ind16_delegate &&update) -{ - laserdisc_device &ld = downcast<laserdisc_device &>(device); - ld.m_overwidth = width; - ld.m_overheight = height; - ld.m_overclip.set(0, width - 1, 0, height - 1); - ld.m_overupdate_ind16 = std::move(update); - ld.m_overupdate_rgb32 = screen_update_rgb32_delegate(); -} - -void laserdisc_device::static_set_overlay(device_t &device, uint32_t width, uint32_t height, screen_update_rgb32_delegate &&update) -{ - laserdisc_device &ld = downcast<laserdisc_device &>(device); - ld.m_overwidth = width; - ld.m_overheight = height; - ld.m_overclip.set(0, width - 1, 0, height - 1); - ld.m_overupdate_ind16 = screen_update_ind16_delegate(); - ld.m_overupdate_rgb32 = std::move(update); -} - - -//------------------------------------------------- -// static_set_overlay - set the overlay visible -// memregion -//------------------------------------------------- - -void laserdisc_device::static_set_overlay_clip(device_t &device, int32_t minx, int32_t maxx, int32_t miny, int32_t maxy) -{ - downcast<laserdisc_device &>(device).m_overclip.set(minx, maxx, miny, maxy); -} - - -//------------------------------------------------- -// static_set_overlay_position - set the overlay -// position parameters -//------------------------------------------------- - -void laserdisc_device::static_set_overlay_position(device_t &device, float posx, float posy) -{ - laserdisc_device &ld = downcast<laserdisc_device &>(device); - ld.m_orig_config.m_overposx = ld.m_overposx = posx; - ld.m_orig_config.m_overposy = ld.m_overposy = posy; -} - - -//------------------------------------------------- -// static_set_overlay_scale - set the overlay -// scale parameters -//------------------------------------------------- - -void laserdisc_device::static_set_overlay_scale(device_t &device, float scalex, float scaley) -{ - laserdisc_device &ld = downcast<laserdisc_device &>(device); - ld.m_orig_config.m_overscalex = ld.m_overscalex = scalex; - ld.m_orig_config.m_overscaley = ld.m_overscaley = scaley; - -} - -//------------------------------------------------- -// static_set_overlay_palette - set the screen palette -// configuration -//------------------------------------------------- - -void laserdisc_device::static_set_overlay_palette(device_t &device, const char *tag) -{ - downcast<laserdisc_device &>(device).m_overlay_palette.set_tag(tag); -} - //************************************************************************** // DEVICE INTERFACE //************************************************************************** |