summaryrefslogtreecommitdiffstats
path: root/src/devices/bus/nes_ctrl/ctrl.cpp
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2019-07-12 09:28:34 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2019-07-12 09:28:34 +1000
commit4e17bb120c26c4ec3ffc8407438f6d09b1da5e86 (patch)
tree20583b3ca381731b76940e28334bcfdab9719188 /src/devices/bus/nes_ctrl/ctrl.cpp
parentdf99ce2ec0e82020a6fee89f4ffaf7f1468fec31 (diff)
parent9214a78d705f3b83c3ea45534cf1d8355c1cb9c5 (diff)
Merge remote-tracking branch 'upstream/master'
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)
{
}