summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/m50458.h
diff options
context:
space:
mode:
author andreasnaive <andreasnaive@gmail.com>2019-03-25 23:13:40 +0100
committer andreasnaive <andreasnaive@gmail.com>2019-03-25 23:13:40 +0100
commitb380514764cf857469bae61c11143a19f79a74c5 (patch)
tree63c8012e262618f08a332da31dd714281aa2c5ed /src/devices/video/m50458.h
parentc24473ddff715ecec2e258a6eb38960cf8c8e98e (diff)
Revert "conflict resolution (nw)"
This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing changes made to 009cba4fb8102102168ef32870892438327f3705.
Diffstat (limited to 'src/devices/video/m50458.h')
-rw-r--r--src/devices/video/m50458.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/devices/video/m50458.h b/src/devices/video/m50458.h
index 07113a93afe..5be6ceaf08c 100644
--- a/src/devices/video/m50458.h
+++ b/src/devices/video/m50458.h
@@ -12,6 +12,16 @@ Mitsubishi M50458 OSD chip
#pragma once
+
+//**************************************************************************
+// INTERFACE CONFIGURATION MACROS
+//**************************************************************************
+
+#define MCFG_M50458_ADD(_tag,_freq,_screen) \
+ MCFG_DEVICE_ADD(_tag, M50458,_freq) \
+ MCFG_VIDEO_SET_SCREEN(_screen)
+
+
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
@@ -24,13 +34,6 @@ class m50458_device : public device_t,
{
public:
// construction/destruction
- template <typename T>
- m50458_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, T &&screen_tag)
- : m50458_device(mconfig, tag, owner, clock)
- {
- set_screen(std::forward<T>(screen_tag));
- }
-
m50458_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// I/O operations