예제 #1
0
        //-------------------------------------------------
        //  ctor
        //-------------------------------------------------
        public menu_file_manager(mame_ui_manager mui, render_container container, string warnings)
            : base(mui, container)
        {
            selected_device = null;
            m_warnings      = warnings != null ? warnings : "";

            // The warning string is used when accessing from the force_file_manager call, i.e.
            // when the file manager is loaded top front in the case of mandatory image devices
        }
예제 #2
0
파일: filemngr.cs 프로젝트: kwanboy/mcs
        //-------------------------------------------------
        //  ctor
        //-------------------------------------------------
        public menu_file_manager(mame_ui_manager mui, render_container container, string warnings)
            : base(mui, container)
        {
            selected_device = null;

            // This warning string is used when accessing from the force_file_manager call, i.e.
            // when the file manager is loaded top front in the case of mandatory image devices
            if (!string.IsNullOrEmpty(warnings))
            {
                m_warnings = warnings;
            }
            else
            {
                m_warnings = "";
            }

            m_curr_selected = false;
        }