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

@ -72,7 +72,7 @@ namespace Ryujinx.HLE.HOS.Ipc
break;
}
//TODO: Whats the difference between IpcDuplicateSession/Ex?
// TODO: Whats the difference between IpcDuplicateSession/Ex?
case 2:
case 4:
{
@ -95,7 +95,7 @@ namespace Ryujinx.HLE.HOS.Ipc
}
else if (request.Type == IpcMessageType.CloseSession)
{
//TODO
// TODO
}
else
{

View file

@ -133,9 +133,9 @@ namespace Ryujinx.HLE.HOS.Ipc
int pad0 = (int)GetPadSize16(cmdPtr + 8 + handleData.Length);
//Apparently, padding after Raw Data is 16 bytes, however when there is
//padding before Raw Data too, we need to subtract the size of this padding.
//This is the weirdest padding I've seen so far...
// Apparently, padding after Raw Data is 16 bytes, however when there is
// padding before Raw Data too, we need to subtract the size of this padding.
// This is the weirdest padding I've seen so far...
int pad1 = 0x10 - pad0;
dataLength = (dataLength + pad0 + pad1) / 4;