mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Add handling for the 1.0 Decal texture.
This commit is contained in:
parent
57e66f9b66
commit
ea023ebb5c
9 changed files with 147 additions and 17 deletions
|
|
@ -31,6 +31,13 @@ public readonly struct FullPath : IComparable, IEquatable< FullPath >
|
|||
Crc64 = Functions.ComputeCrc64( InternalName.Span );
|
||||
}
|
||||
|
||||
public FullPath( Utf8GamePath path )
|
||||
{
|
||||
FullName = path.ToString().Replace( '/', '\\' );
|
||||
InternalName = path.Path;
|
||||
Crc64 = Functions.ComputeCrc64( InternalName.Span );
|
||||
}
|
||||
|
||||
public bool Exists
|
||||
=> File.Exists( FullName );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue