Fix specifying device-based VBLANK callbacks.

This commit is contained in:
Aaron Giles 2012-03-08 07:35:14 +00:00
parent 2a04855fb3
commit 8d0ec85106

View File

@ -396,10 +396,10 @@ typedef device_type_iterator<&device_creator<screen_device>, screen_device> scre
screen_device::static_set_screen_vblank(*device, screen_vblank_delegate(&screen_vblank_##_func, "screen_vblank_" #_func)); \
#define MCFG_SCREEN_VBLANK_DRIVER(_class, _method) \
screen_device::static_set_screen_vblank(*device, screen_vblank_delegate(&_class::_method, #_class "::" #_method, NULL)); \
screen_device::static_set_screen_vblank(*device, screen_vblank_delegate(&_class::_method, #_class "::" #_method, NULL, (_class *)0)); \
#define MCFG_SCREEN_VBLANK_DEVICE(_device, _class, _method) \
screen_device::static_set_screen_vblank(*device, screen_vblank_delegate(&_class::_method, #_class "::" #_method, _device)); \
screen_device::static_set_screen_vblank(*device, screen_vblank_delegate(&_class::_method, #_class "::" #_method, _device, (_class *)0)); \