Fix some code style issues
This commit is contained in:
parent
5845a44fc2
commit
a2c0d0c4e8
1 changed files with 8 additions and 6 deletions
|
@ -60,12 +60,11 @@ namespace Ryujinx.HLE.HOS.Services.Ldr
|
||||||
|
|
||||||
class NroInfo
|
class NroInfo
|
||||||
{
|
{
|
||||||
public Nro Executable { get; private set; }
|
public Nro Executable { get; private set; }
|
||||||
public byte[] Hash { get; private set; }
|
public byte[] Hash { get; private set; }
|
||||||
public long NroAddress { get; private set; }
|
public long NroAddress { get; private set; }
|
||||||
public long TotalSize { get; private set; }
|
public long TotalSize { get; private set; }
|
||||||
public long NroMappedAddress;
|
public long NroMappedAddress { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public NroInfo(Nro Executable, byte[] Hash, long TotalSize)
|
public NroInfo(Nro Executable, byte[] Hash, long TotalSize)
|
||||||
{
|
{
|
||||||
|
@ -153,6 +152,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,6 +165,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldr
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
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);
|
Res = new NroInfo(Executable, NroHash, Executable.Text.Length + Executable.RO.Length + Executable.Data.Length + Executable.BssSize);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue