Exemplo n.º 1
0
        public static SidTuneBase load(string fileName, byte[] dataBuf)
        {
            string ext = SidTuneTools.fileExtOfPath(fileName);

            if ((ext != ".prg") &&
                (ext != ".c64"))
            {
                return(null);
            }

            if (dataBuf.Length < 2)
            {
                throw new loadError(ERR_TRUNCATED);
            }

            prg tune = new prg();

            tune.load();

            return(tune);
        }
Exemplo n.º 2
0
 private prg opeEquel(ref prg p)
 {
     return(null);
 }
Exemplo n.º 3
0
 // prevent copying
 prg(ref prg p)
 {
 }