From 9072c7f9116996a41e9fac14a89677f9d8eb89f9 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Mon, 23 Nov 2009 04:55:26 +0000 Subject: Added new module tagmap which is a simple hashed string map. Updated device and input port lists to use the tagmap for tag searches. Also removed the whole "quark" thing from the validity checker in favor of using the tagmaps. --- src/ldplayer/ldplayer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ldplayer') diff --git a/src/ldplayer/ldplayer.c b/src/ldplayer/ldplayer.c index 16453952314..9d9bea5c70c 100644 --- a/src/ldplayer/ldplayer.c +++ b/src/ldplayer/ldplayer.c @@ -227,7 +227,7 @@ static void process_commands(const device_config *laserdisc) static TIMER_CALLBACK( vsync_update ) { - const device_config *laserdisc = device_list_first(machine->config->devicelist, LASERDISC); + const device_config *laserdisc = device_list_first(&machine->config->devicelist, LASERDISC); int vblank_scanline; attotime target; @@ -250,7 +250,7 @@ static MACHINE_START( ldplayer ) static TIMER_CALLBACK( autoplay ) { - const device_config *laserdisc = device_list_first(machine->config->devicelist, LASERDISC); + const device_config *laserdisc = device_list_first(&machine->config->devicelist, LASERDISC); /* start playing */ (*execute_command)(laserdisc, CMD_PLAY); @@ -323,7 +323,7 @@ static TIMER_CALLBACK( pr8210_bit_callback ) static MACHINE_START( pr8210 ) { - const device_config *laserdisc = device_list_first(machine->config->devicelist, LASERDISC); + const device_config *laserdisc = device_list_first(&machine->config->devicelist, LASERDISC); MACHINE_START_CALL(ldplayer); pr8210_bit_timer = timer_alloc(machine, pr8210_bit_callback, (void *)laserdisc); } -- cgit v1.2.3-70-g09d2