mirror of https://github.com/encounter/nod-rs.git
Remove TGC version check
This commit is contained in:
parent
c2e029db6b
commit
f1cc0949f3
|
@ -70,12 +70,6 @@ impl DiscIOTGC {
|
||||||
if header.magic != TGC_MAGIC {
|
if header.magic != TGC_MAGIC {
|
||||||
return Err(Error::DiscFormat("Invalid TGC magic".to_string()));
|
return Err(Error::DiscFormat("Invalid TGC magic".to_string()));
|
||||||
}
|
}
|
||||||
if header.version.get() != 0 {
|
|
||||||
return Err(Error::DiscFormat(format!(
|
|
||||||
"Unsupported TGC version {}",
|
|
||||||
header.version.get()
|
|
||||||
)));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Read FST and adjust offsets
|
// Read FST and adjust offsets
|
||||||
inner
|
inner
|
||||||
|
|
Loading…
Reference in New Issue