diff options
author | 2016-06-05 13:55:12 -0400 | |
---|---|---|
committer | 2016-06-05 13:55:12 -0400 | |
commit | 5d5bf3813d1c0b92e545f1a796a4a52e82b79965 (patch) | |
tree | 1bb46fce1564115cd0e85031909ffa94812caebf | |
parent | 972212518e2aaebc5fbb28e21a11caca5d6d7420 (diff) | |
parent | 708583de980bf5edc849d907ba2389a5235454bc (diff) |
Merge pull request #926 from Dagarman/master
2joysnd: cleanups
-rw-r--r-- | src/devices/bus/pet/2joysnd.cpp | 9 | ||||
-rw-r--r-- | 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 |