/// <inheritdoc/> public bool HeaderSignatureMatches(Stream romStream) { romStream.Seek(0, SeekOrigin.Begin); CDReader reader = new CDReader(romStream, true); return(reader.DirectoryExists(Encoding.UTF8.GetString(this.HeaderSignature))); }
/// <inheritdoc/> public bool HeaderSignatureMatches(Stream romStream) { try { romStream.Seek(0, SeekOrigin.Begin); using CDReader reader = new CDReader(romStream, true); return(reader.DirectoryExists("PSP_GAME")); } catch { return(false); } }