mirror of
https://github.com/LBPUnion/UnionPatcher.git
synced 2025-08-03 14:48:53 +00:00
Reflow tabs
This commit is contained in:
parent
77b693ae08
commit
3d0d7d052f
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ namespace LBPUnion.UnionPatcher {
|
||||||
public byte[] Contents { get; } = null;
|
public byte[] Contents { get; } = null;
|
||||||
|
|
||||||
public ElfFile(byte[] fileContents) {
|
public ElfFile(byte[] fileContents) {
|
||||||
if(fileContents.Length < 52)
|
if(fileContents.Length < 52)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
IsValid = fileContents[0x00..0x04].SequenceEqual(new byte[] {0x7F, (byte)'E', (byte)'L', (byte)'F'});
|
IsValid = fileContents[0x00..0x04].SequenceEqual(new byte[] {0x7F, (byte)'E', (byte)'L', (byte)'F'});
|
||||||
if(!IsValid) return;
|
if(!IsValid) return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue