summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/rendlay.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/rendlay.h')
-rw-r--r--src/emu/rendlay.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/emu/rendlay.h b/src/emu/rendlay.h
index 966e3d2b901..dc8660f84d1 100644
--- a/src/emu/rendlay.h
+++ b/src/emu/rendlay.h
@@ -208,17 +208,21 @@ public:
int orientation() const { return m_orientation; }
render_container *screen_container(running_machine &machine) const;
bool has_input() const { return !m_input_tag.empty(); }
- const char *input_tag_and_mask(ioport_value &mask) const { mask = m_input_mask; return m_input_tag.c_str(); }
+ ioport_port *input_tag_and_mask(ioport_value &mask) const { mask = m_input_mask; return m_input_port; };
// fetch state based on configured source
int state() const;
+ // resolve tags, if any
+ void resolve_tags();
+
private:
// internal state
item * m_next; // link to next item
layout_element * m_element; // pointer to the associated element (non-screens only)
std::string m_output_name; // name of this item
std::string m_input_tag; // input tag of this item
+ ioport_port * m_input_port; // input port of this item
ioport_value m_input_mask; // input mask of this item
screen_device * m_screen; // pointer to screen
int m_orientation; // orientation of this item
@@ -247,6 +251,9 @@ public:
// operations
void recompute(render_layer_config layerconfig);
+ // resolve tags, if any
+ void resolve_tags();
+
private:
// internal state
layout_view * m_next; // pointer to next layout in the list