summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/ldpr8210.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-03-12 07:43:03 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-03-12 07:43:03 +0000
commiteb539cce9d58a349e0dffff237dc96bb926ca06f (patch)
treee86162a925dfb228169afd2fb6309cba906400c5 /src/emu/machine/ldpr8210.c
parentfeb4e2c8b368f5ec7f251e764167fd24708700f3 (diff)
Many casts added to the core files, and various other tweaks
to make them compile as either C or C++.
Diffstat (limited to 'src/emu/machine/ldpr8210.c')
-rw-r--r--src/emu/machine/ldpr8210.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/machine/ldpr8210.c b/src/emu/machine/ldpr8210.c
index 485c4d38ef2..83d9d9478c0 100644
--- a/src/emu/machine/ldpr8210.c
+++ b/src/emu/machine/ldpr8210.c
@@ -521,7 +521,7 @@ static void pr8210_control_w(laserdisc_state *ld, UINT8 prev, UINT8 data)
static TIMER_CALLBACK( vsync_off )
{
- laserdisc_state *ld = ptr;
+ laserdisc_state *ld = (laserdisc_state *)ptr;
ld->player->vsync = FALSE;
}
@@ -535,7 +535,7 @@ static TIMER_CALLBACK( vsync_off )
static TIMER_CALLBACK( vbi_data_fetch )
{
- laserdisc_state *ld = ptr;
+ laserdisc_state *ld = (laserdisc_state *)ptr;
ldplayer_data *player = ld->player;
UINT8 focus_on = !(player->port1 & 0x08);
UINT8 laser_on = !(player->port2 & 0x01);
@@ -1097,7 +1097,7 @@ static void simutrek_init(laserdisc_state *ld)
static TIMER_CALLBACK( irq_off )
{
- laserdisc_state *ld = ptr;
+ laserdisc_state *ld = (laserdisc_state *)ptr;
ldplayer_data *player = ld->player;
cpu_set_input_line(player->simutrek.cpu, MCS48_INPUT_IRQ, CLEAR_LINE);
if (LOG_SIMUTREK)
@@ -1181,7 +1181,7 @@ static void simutrek_data_w(laserdisc_state *ld, UINT8 prev, UINT8 data)
static TIMER_CALLBACK( simutrek_latched_data_w )
{
- laserdisc_state *ld = ptr;
+ laserdisc_state *ld = (laserdisc_state *)ptr;
ldplayer_data *player = ld->player;
/* store the data and set the ready flag */