コード例 #1
0
ファイル: PSPGame.cs プロジェクト: dvgamer/PSPLibrary
 public PSPGame(String iso)
 {
     Readable = true;
     try
     {
         FileStream FileISO = File.Open(iso, FileMode.Open, FileAccess.Read);
         CDReader ReaderISO = new CDReader(FileISO, true);
         FileName = iso;
         FileSize = FileISO.Length;
         if (!ReaderISO.FileExists("PSP_GAME\\PARAM.SFO")) throw new NotImplementedException();
         FileISO.Close();
     }
     catch (Exception ex)
     {
         Readable = false;
         Console.WriteLine("-----------------------------------------------------");
         Console.WriteLine("PSPGame(" + iso + ")");
         Console.WriteLine(ex.Message);
         Console.WriteLine("-----------------------------------------------------");
     }
 }