summaryrefslogtreecommitdiffstatshomepage
path: root/src/ldplayer
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-11-23 04:55:26 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-11-23 04:55:26 +0000
commit9072c7f9116996a41e9fac14a89677f9d8eb89f9 (patch)
tree26fceb4fb95f265850c578cb9fa880075b20730c /src/ldplayer
parent41be698d6e813b1018cb35be64254e53db8e8a21 (diff)
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.
Diffstat (limited to 'src/ldplayer')
-rw-r--r--src/ldplayer/ldplayer.c6
1 files changed, 3 insertions, 3 deletions
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);
}