示例#1
0
文件: digfx.cs 项目: kwanboy/mcs
 public void set_palette(finder_base tag)
 {
     m_paletteDevice.set_tag(tag);
 }
示例#2
0
        }                                                                                                                         //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; }
示例#3
0
文件: drawgfx.cs 项目: kwanboy/mcs
 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);
 }
示例#4
0
 /// \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(); }
示例#5
0
 // 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;
 }
示例#6
0
文件: namco06.cs 项目: kwanboy/mcs
        }                                                               //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)); }
示例#7
0
 //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_;
 }
示例#8
0
        }                                                                  //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)); }