summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/photoply.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-19 11:35:42 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-19 11:35:42 +0000
commit60bd953c5fedcf665cd463ee6ac868c8a8788166 (patch)
tree991a9c87e576a2e5221e057f9e8a22a2f7392cbe /src/mame/drivers/photoply.c
parent3dff6ae3addf01cd1baeb48cec67fbb8a76957cb (diff)
removed some duplicated and not used code for pc keyboard and moved stuff needed for xt keyboard on proper place (nw)
Diffstat (limited to 'src/mame/drivers/photoply.c')
-rw-r--r--src/mame/drivers/photoply.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mame/drivers/photoply.c b/src/mame/drivers/photoply.c
index 7111ba5d3e0..8acfa3a2e19 100644
--- a/src/mame/drivers/photoply.c
+++ b/src/mame/drivers/photoply.c
@@ -352,13 +352,6 @@ static const struct kbdc8042_interface at8042 =
DEVCB_DRIVER_MEMBER(photoply_state,get_out2)
};
-static void photoply_set_keyb_int(running_machine &machine, int state)
-{
- photoply_state *drvstate = machine.driver_data<photoply_state>();
- pic8259_ir1_w(drvstate->m_pic8259_1, state);
-}
-
-
void photoply_state::machine_start()
{
m_maincpu->set_irq_acknowledge_callback(device_irq_acknowledge_delegate(FUNC(photoply_state::irq_callback),this));
@@ -367,8 +360,6 @@ void photoply_state::machine_start()
m_pic8259_2 = machine().device( "pic8259_2" );
m_dma8237_1 = machine().device<i8237_device>( "dma8237_1" );
m_dma8237_2 = machine().device<i8237_device>( "dma8237_2" );
-
- init_pc_common(machine(), PCCOMMON_KEYBOARD_AT, photoply_set_keyb_int);
}
static const gfx_layout CGA_charlayout =