Misc cleanup (#708)
* Fix typos * Remove unneeded using statements * Enforce var style more * Remove redundant qualifiers * Fix some indentation * Disable naming warnings on files with external enum names * Fix build * Mass find & replace for comments with no spacing * Standardize todo capitalization and for/if spacing
This commit is contained in:
parent
10c74182ba
commit
b2b736abc2
205 changed files with 1020 additions and 1041 deletions
|
@ -15,11 +15,11 @@ namespace Ryujinx.HLE.Loaders.Npdm
|
|||
|
||||
BinaryReader reader = new BinaryReader(stream);
|
||||
|
||||
int byteReaded = 0;
|
||||
int bytesRead = 0;
|
||||
|
||||
Dictionary<string, bool> services = new Dictionary<string, bool>();
|
||||
|
||||
while (byteReaded != size)
|
||||
while (bytesRead != size)
|
||||
{
|
||||
byte controlByte = reader.ReadByte();
|
||||
|
||||
|
@ -33,7 +33,7 @@ namespace Ryujinx.HLE.Loaders.Npdm
|
|||
|
||||
services[Encoding.ASCII.GetString(reader.ReadBytes(length))] = registerAllowed;
|
||||
|
||||
byteReaded += length + 1;
|
||||
bytesRead += length + 1;
|
||||
}
|
||||
|
||||
Services = new ReadOnlyDictionary<string, bool>(services);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue