diff options
Diffstat (limited to 'src/mame/video/k1ge.h')
-rw-r--r-- | src/mame/video/k1ge.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/k1ge.h b/src/mame/video/k1ge.h index 250ad493173..1fcac610cf2 100644 --- a/src/mame/video/k1ge.h +++ b/src/mame/video/k1ge.h @@ -17,14 +17,14 @@ #define MCFG_K1GE_ADD(_tag, _clock, _screen, _vblank, _hblank ) \ MCFG_DEVICE_ADD( _tag, K1GE, _clock ) \ MCFG_VIDEO_SET_SCREEN( _screen ) \ - devcb = &downcast<k1ge_device &>(*device).set_vblank_callback(DEVCB_##_vblank ); \ - devcb = &downcast<k1ge_device &>(*device).set_hblank_callback(DEVCB_##_hblank ); + downcast<k1ge_device &>(*device).set_vblank_callback(DEVCB_##_vblank ); \ + downcast<k1ge_device &>(*device).set_hblank_callback(DEVCB_##_hblank ); #define MCFG_K2GE_ADD(_tag, _clock, _screen, _vblank, _hblank ) \ MCFG_DEVICE_ADD( _tag, K2GE, _clock ) \ MCFG_VIDEO_SET_SCREEN( _screen ) \ - devcb = &downcast<k1ge_device &>(*device).set_vblank_callback(DEVCB_##_vblank ); \ - devcb = &downcast<k1ge_device &>(*device).set_hblank_callback(DEVCB_##_hblank ); + downcast<k1ge_device &>(*device).set_vblank_callback(DEVCB_##_vblank ); \ + downcast<k1ge_device &>(*device).set_hblank_callback(DEVCB_##_hblank ); class k1ge_device : public device_t, public device_video_interface |