public void set_palette(finder_base tag) { m_paletteDevice.set_tag(tag); }
} //void set_vblank_count(T &&screen_tag, int32_t count) { m_screen.set_tag(std::forward<T>(screen_tag)); m_vblank_count = count; } public void set_vblank_count(finder_base screen, int32_t count) { m_screen.set_tag(screen); m_vblank_count = count; } //void set_vblank_count(T &&screen_tag, int32_t count) { m_screen.set_tag(std::forward<T>(screen_tag)); m_vblank_count = count; }
public void gfxdecode_device_after_ctor(finder_base palette, gfx_decode_entry [] gfxinfo) { m_digfx = GetClassInterface <device_gfx_interface>(); m_digfx.set_palette(palette); m_digfx.set_info(gfxinfo); }
/// \brief Set search tag /// /// Allows search tag to be changed after construction. Note that /// this must be done before resolution time to take effect. /// \param [in] finder Object finder to take the search base and tag /// from. public void set_tag(finder_base finder) { assert(!m_resolved); var kvp = finder.finder_target(); m_base = kvp.Key; m_tag = kvp.Value; } //std::tie(m_base, m_tag) = finder.finder_target(); }
// construction/destruction //------------------------------------------------- // finder_base - constructor //------------------------------------------------- protected finder_base(device_t base_device, string tag) { m_next = base_device.register_auto_finder(this); m_base = base_device; m_tag = tag; }
} //template <typename T> void set_maincpu(T &&tag) { m_nmicpu.set_tag(std::forward<T>(tag)); } public void set_maincpu(finder_base tag) { m_nmicpu.set_tag(tag); } //template <typename T> void set_maincpu(T &&tag) { m_nmicpu.set_tag(std::forward<T>(tag)); }
//template <typename T> public void set_memory(finder_base tag, int no, offs_t base_) //void set_memory(T &&tag, int no, offs_t base) { m_memspace.set_tag(tag, no); m_membase = base_; }
} //template <typename T> void set_screen_tag(T &&tag) { m_screen.set_tag(std::forward<T>(tag)); } public void set_screen_tag(finder_base tag) { m_screen.set_tag(tag); } //template <typename T> void set_screen_tag(T &&tag) { m_screen.set_tag(std::forward<T>(tag)); }