diff options
author | 2022-02-07 15:12:42 -0900 | |
---|---|---|
committer | 2022-02-07 19:12:42 -0500 | |
commit | e450cc79539942693b9fffcc61cdfc7d0e9cff17 (patch) | |
tree | de215af879a995cc11a156788ecbcae8ce8b2474 /src/devices/bus/nes_ctrl/ctrl.cpp | |
parent | 9da06744f15162239e6b901cb127d2c4aca66baa (diff) |
bus/nes_ctrl: Added NES support for Virtual Boy controllers. (#9124)
- Generalized the read/write pattern for joypads a bit more and placed it in the base NES joypad class.
- Using that, added Virtual Boy controller and simplified Pachinko controller some more.
New working software list additions (nes.xml)
-----------------------------------
Candelabra - Estoscerro [SlyDogStudios]
Diffstat (limited to 'src/devices/bus/nes_ctrl/ctrl.cpp')
-rw-r--r-- | src/devices/bus/nes_ctrl/ctrl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/bus/nes_ctrl/ctrl.cpp b/src/devices/bus/nes_ctrl/ctrl.cpp index f13410fc98e..d659053bcb0 100644 --- a/src/devices/bus/nes_ctrl/ctrl.cpp +++ b/src/devices/bus/nes_ctrl/ctrl.cpp @@ -185,6 +185,7 @@ void nes_control_port1_devices(device_slot_interface &device) device.option_add("4score_p1p3", NES_4SCORE_P1P3); device.option_add("miracle_piano", NES_MIRACLE); device.option_add("snes_adapter", NES_SNESADAPTER); + device.option_add("vboy", NES_VBOYCTRL); } void nes_control_port2_devices(device_slot_interface &device) @@ -195,6 +196,7 @@ void nes_control_port2_devices(device_slot_interface &device) device.option_add("powerpad", NES_POWERPAD); device.option_add("4score_p2p4", NES_4SCORE_P2P4); device.option_add("snes_adapter", NES_SNESADAPTER); + device.option_add("vboy", NES_VBOYCTRL); } void fc_control_port1_devices(device_slot_interface &device) |