예제 #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)); }