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:
Alex Barney 2019-07-01 21:39:22 -05:00 committed by Ac_K
parent 10c74182ba
commit b2b736abc2
205 changed files with 1020 additions and 1041 deletions

View file

@ -75,7 +75,7 @@ namespace Ryujinx.HLE.Loaders.Executables
DataOffset = dataMemOffset;
BssSize = bssSize;
//Text segment
// Text segment
input.Seek(textOffset, SeekOrigin.Begin);
Text = reader.ReadBytes(textSize);
@ -85,7 +85,7 @@ namespace Ryujinx.HLE.Loaders.Executables
Text = Lz4.Decompress(Text, textDecSize);
}
//Read-only data segment
// Read-only data segment
input.Seek(roOffset, SeekOrigin.Begin);
Ro = reader.ReadBytes(roSize);
@ -95,7 +95,7 @@ namespace Ryujinx.HLE.Loaders.Executables
Ro = Lz4.Decompress(Ro, roDecSize);
}
//Data segment
// Data segment
input.Seek(dataOffset, SeekOrigin.Begin);
Data = reader.ReadBytes(dataSize);