From 708583de980bf5edc849d907ba2389a5235454bc Mon Sep 17 00:00:00 2001 From: Dagarman Date: Sat, 4 Jun 2016 18:28:58 -0700 Subject: [PATCH] Add files via upload --- src/devices/bus/pet/2joysnd.cpp | 9 ++++----- src/devices/bus/pet/2joysnd.h | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/devices/bus/pet/2joysnd.cpp b/src/devices/bus/pet/2joysnd.cpp index b0ac30bf0d1..ef8fb7f974c 100644 --- a/src/devices/bus/pet/2joysnd.cpp +++ b/src/devices/bus/pet/2joysnd.cpp @@ -23,7 +23,7 @@ Connections E ----- | 2 | joy 1 down | 7 | D ----- | 3 | joy 1 left - | 8 | + A ----- | 8 | ground C ----- | 4 | joy 1 right | 9 | | 5 | @@ -35,13 +35,14 @@ Connections K ----- | 2 | joy 2 down | 7 | J ----- | 3 | joy 2 left - | 8 | + N ----- | 8 | ground H ----- | 4 | joy 2 right | 9 | | 5 | \____| - M ----- audio amplifier + M ----- / audio + N ----- \ amplifier */ @@ -139,7 +140,6 @@ void pet_userport_joystick_and_sound_device::device_start() void pet_userport_joystick_and_sound_device::update_port1() { -// printf( "update port1\n" ); output_f(m_up1 && m_fire1); output_e(m_down1 && m_fire1); } @@ -151,7 +151,6 @@ void pet_userport_joystick_and_sound_device::update_port1() void pet_userport_joystick_and_sound_device::update_port2() { -// printf( "update port2\n" ); output_l(m_up2 && m_fire2); output_k(m_down2 && m_fire2); } diff --git a/src/devices/bus/pet/2joysnd.h b/src/devices/bus/pet/2joysnd.h index 26a2f193d71..ee2232e6ad3 100644 --- a/src/devices/bus/pet/2joysnd.h +++ b/src/devices/bus/pet/2joysnd.h @@ -21,7 +21,7 @@ // TYPE DEFINITIONS //************************************************************************** -// ======================> pet_userport_joystick_adapter_device +// ======================> pet_userport_joystick_and_sound_device class pet_userport_joystick_and_sound_device : public device_t, public device_pet_user_port_interface