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
|
@ -29,7 +29,7 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
|
|||
};
|
||||
|
||||
_baseFile = baseFile;
|
||||
Path = LibHac.Fs.PathTools.Normalize(path);
|
||||
Path = PathTools.Normalize(path);
|
||||
}
|
||||
|
||||
// Read(u32 readOption, u64 offset, u64 size) -> (u64 out_size, buffer<u8, 0x46, 0> out_buf)
|
||||
|
|
|
@ -306,7 +306,7 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
|
|||
|
||||
try
|
||||
{
|
||||
LibHac.Fs.DirectoryEntryType entryType = _provider.GetEntryType(name);
|
||||
DirectoryEntryType entryType = _provider.GetEntryType(name);
|
||||
|
||||
context.ResponseData.Write((int)entryType);
|
||||
}
|
||||
|
|
|
@ -312,7 +312,7 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
|
|||
|
||||
private void ImportTitleKeysFromNsp(LibHac.Fs.IFileSystem nsp, Keyset keySet)
|
||||
{
|
||||
foreach (LibHac.Fs.DirectoryEntry ticketEntry in nsp.EnumerateEntries("*.tik"))
|
||||
foreach (DirectoryEntry ticketEntry in nsp.EnumerateEntries("*.tik"))
|
||||
{
|
||||
Ticket ticket = new Ticket(nsp.OpenFile(ticketEntry.FullPath, OpenMode.Read).AsStream());
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
|
|||
{
|
||||
IpcBuffDesc buffDesc = context.Request.ReceiveBuff[0];
|
||||
|
||||
//Use smaller length to avoid overflows.
|
||||
// Use smaller length to avoid overflows.
|
||||
if (size > buffDesc.Size)
|
||||
{
|
||||
size = buffDesc.Size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue