summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes_ctrl/ctrl.cpp
diff options
context:
space:
mode:
author Enik Land <enikland@gmx.com>2019-07-09 16:54:09 -0300
committer Enik Land <enikland@gmx.com>2019-07-09 16:54:09 -0300
commit92dc9b749a7be801355b00e51c35acf1085dbe44 (patch)
tree18051a3934ad7eda8c12e01d46d69bf7aeec7e88 /src/devices/bus/nes_ctrl/ctrl.cpp
parentdbe25d1be114264495c85844f6c458ee2ebe02f3 (diff)
nes,sms: Change the way screen is set for light gun
Diffstat (limited to 'src/devices/bus/nes_ctrl/ctrl.cpp')
-rw-r--r--src/devices/bus/nes_ctrl/ctrl.cpp2
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 bacbd952c8a..a946eeb80fb 100644
--- a/src/devices/bus/nes_ctrl/ctrl.cpp
+++ b/src/devices/bus/nes_ctrl/ctrl.cpp
@@ -41,6 +41,7 @@
**********************************************************************/
#include "emu.h"
+#include "screen.h"
#include "ctrl.h"
// slot devices
#include "4score.h"
@@ -104,6 +105,7 @@ device_nes_control_port_interface::~device_nes_control_port_interface()
nes_control_port_device::nes_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, NES_CONTROL_PORT, tag, owner, clock),
device_slot_interface(mconfig, *this),
+ m_screen(*this, finder_base::DUMMY_TAG),
m_device(nullptr)
{
}