summaryrefslogtreecommitdiffstats
path: root/src/devices/bus/nes_ctrl/ctrl.cpp
diff options
context:
space:
mode:
author Roberto Fresca <robbie@robertofresca.com>2019-07-11 23:42:15 +0200
committer Roberto Fresca <robbie@robertofresca.com>2019-07-11 23:42:15 +0200
commit9214a78d705f3b83c3ea45534cf1d8355c1cb9c5 (patch)
tree5b73fda7b339c0c1dcb111850fb66930602ae5d7 /src/devices/bus/nes_ctrl/ctrl.cpp
parent4faa4fb12f04143f2a7ad6d17a3489c69da2960b (diff)
parentcc5d4b93059522122cb534e599b92f8e8f51225c (diff)
Merge branch 'master' of https://github.com/mamedev/mame
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)
{
}