summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author Dagarman <kenwhite054@gmail.com>2016-06-04 18:28:58 -0700
committer Dagarman <kenwhite054@gmail.com>2016-06-04 18:28:58 -0700
commit708583de980bf5edc849d907ba2389a5235454bc (patch)
tree5170c923d4a9b42b73c1b6d9676a3044eb16911c /src/devices
parenta388c79cc0bae474874e19dcd53bf6cca1e4ee20 (diff)
Add files via upload
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/bus/pet/2joysnd.cpp9
-rw-r--r--src/devices/bus/pet/2joysnd.h2
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