Ejemplo n.º 1
0
        public IImageFile Open(string name, C64FileType type, string mode)
        {
            if (!Files.ContainsKey(name))
            {
                return(null);
            }

            Files[name].ReadException  = ReadException;
            Files[name].WriteException = WriteException;

            return(Files[name]);
        }
Ejemplo n.º 2
0
        public IImageFile Open(string name, C64FileType type, string mode)
        {
            if (mode == "wb")
            {
                m_image.Delete(name, type);
            }

            C64ImageFile file = m_image.Open(name, type, mode);

            if (file == null)
            {
                return(null);
            }

            return(new _ImageFile(file));
        }