summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/djboy.cpp
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2017-03-10 01:03:06 -0500
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2017-03-10 21:35:02 -0500
commitb888b8c4edaeccea889b97e1c2df6f914ae6e303 (patch) (github)
tree15c1ea3af8a5337262c959c56acb31712777ec15 /src/mame/drivers/djboy.cpp
parent006709e725a7afbaacb947e5645996d8101036c7 (diff)
downloadmame-b888b8c4edaeccea889b97e1c2df6f914ae6e303.tar.bz2
mame-b888b8c4edaeccea889b97e1c2df6f914ae6e303.zip
Convert screen_device VBLANK callback to devcb_write_line
- WRITE_LINE callback has same functionality, except that screen is not an argument - Rename screen_eof_xxx to screen_vblank_xxx in many drivers - No changes to externally registered vblank delegates or screen update methods
Diffstat (limited to 'src/mame/drivers/djboy.cpp')
-rw-r--r--src/mame/drivers/djboy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/djboy.cpp b/src/mame/drivers/djboy.cpp
index b0b88fc8ba4..2265b898a08 100644
--- a/src/mame/drivers/djboy.cpp
+++ b/src/mame/drivers/djboy.cpp
@@ -576,7 +576,7 @@ static MACHINE_CONFIG_START( djboy, djboy_state )
MCFG_SCREEN_SIZE(256, 256)
MCFG_SCREEN_VISIBLE_AREA(0, 256-1, 16, 256-16-1)
MCFG_SCREEN_UPDATE_DRIVER(djboy_state, screen_update_djboy)
- MCFG_SCREEN_VBLANK_DRIVER(djboy_state, screen_eof_djboy)
+ MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(djboy_state, screen_vblank_djboy))
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", djboy)