diff options
author | 2010-06-28 06:40:44 +0000 | |
---|---|---|
committer | 2010-06-28 06:40:44 +0000 | |
commit | 41b9dbb9ace490ee8ab0bd87d35a50e9b693d538 (patch) | |
tree | 945b176affb6ad7958b2016777241736ff6f294d /src/ldplayer | |
parent | f9a3aaf5c82bae95ba12b517beaf3fe5d4d1a93a (diff) |
Made the machine_config a proper object. Added detokenize method to
this object which can be called multiple times to append new devices
after the initial machine configuration is set up. Updated member
variables to match new naming convention.
Changed the running_machine to take a constructed machine_config
object in the constructor, instead of creating one itself, for
consistency. Also added machine->total_colors() as a shortcut to
machine->config->m_total_colors.
Diffstat (limited to 'src/ldplayer')
-rw-r--r-- | src/ldplayer/ldplayer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ldplayer/ldplayer.c b/src/ldplayer/ldplayer.c index 958d93e103a..605544e5866 100644 --- a/src/ldplayer/ldplayer.c +++ b/src/ldplayer/ldplayer.c @@ -227,7 +227,7 @@ static void process_commands(running_device *laserdisc) static TIMER_CALLBACK( vsync_update ) { - running_device *laserdisc = machine->devicelist.first(LASERDISC); + running_device *laserdisc = machine->m_devicelist.first(LASERDISC); int vblank_scanline; attotime target; @@ -250,7 +250,7 @@ static MACHINE_START( ldplayer ) static TIMER_CALLBACK( autoplay ) { - running_device *laserdisc = machine->devicelist.first(LASERDISC); + running_device *laserdisc = machine->m_devicelist.first(LASERDISC); /* start playing */ (*execute_command)(laserdisc, CMD_PLAY); @@ -323,7 +323,7 @@ static TIMER_CALLBACK( pr8210_bit_callback ) static MACHINE_START( pr8210 ) { - running_device *laserdisc = machine->devicelist.first(LASERDISC); + running_device *laserdisc = machine->m_devicelist.first(LASERDISC); MACHINE_START_CALL(ldplayer); pr8210_bit_timer = timer_alloc(machine, pr8210_bit_callback, (void *)laserdisc); } |