Fix some code style issues

This commit is contained in:
Thog 2018-10-08 19:17:25 +02:00
parent 5845a44fc2
commit a2c0d0c4e8
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6

View file

@ -60,12 +60,11 @@ namespace Ryujinx.HLE.HOS.Services.Ldr
class NroInfo
{
public Nro Executable { get; private set; }
public byte[] Hash { get; private set; }
public long NroAddress { get; private set; }
public long TotalSize { get; private set; }
public long NroMappedAddress;
public Nro Executable { get; private set; }
public byte[] Hash { get; private set; }
public long NroAddress { get; private set; }
public long TotalSize { get; private set; }
public long NroMappedAddress { get; set; }
public NroInfo(Nro Executable, byte[] Hash, long TotalSize)
{
@ -153,6 +152,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldr
}
}
}
return false;
}
@ -165,6 +165,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldr
return true;
}
}
return false;
}
@ -243,6 +244,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldr
}
Res = new NroInfo(Executable, NroHash, Executable.Text.Length + Executable.RO.Length + Executable.Data.Length + Executable.BssSize);
return 0;
}