Remove unneeded commas

This commit is contained in:
Alex Barney 2018-12-01 14:43:05 -06:00
commit c6843dfb38
18 changed files with 25 additions and 25 deletions

View file

@ -29,7 +29,7 @@ namespace Ryujinx.HLE.FileSystem.Content
{ "FontExtendedChineseSimplified", 0x0100000000000814 }, { "FontExtendedChineseSimplified", 0x0100000000000814 },
{ "FontKorean", 0x0100000000000812 }, { "FontKorean", 0x0100000000000812 },
{ "FontChineseTraditional", 0x0100000000000813 }, { "FontChineseTraditional", 0x0100000000000813 },
{ "FontNintendoExtended" , 0x0100000000000810 }, { "FontNintendoExtended" , 0x0100000000000810 }
}; };
_device = device; _device = device;

View file

@ -11,7 +11,7 @@ namespace Ryujinx.HLE.HOS.Diagnostics.Demangler.Ast
String, String,
IStream, IStream,
OStream, OStream,
IOStream, IOStream
} }
private SpecialType _specialSubstitutionKey; private SpecialType _specialSubstitutionKey;

View file

@ -27,7 +27,7 @@ namespace Ryujinx.HLE.HOS.Services.Acc
{ 0, Get }, { 0, Get },
{ 1, GetBase }, { 1, GetBase },
{ 10, GetImageSize }, { 10, GetImageSize },
{ 11, LoadImage }, { 11, LoadImage }
}; };
_profile = profile; _profile = profile;

View file

@ -2,6 +2,6 @@
{ {
internal enum BsdIoctl internal enum BsdIoctl
{ {
AtMark = 0x40047307, AtMark = 0x40047307
} }
} }

View file

@ -134,7 +134,7 @@ namespace Ryujinx.HLE.HOS.Services.Bsd
{ 24, Write }, { 24, Write },
{ 25, Read }, { 25, Read },
{ 26, Close }, { 26, Close },
{ 27, DuplicateSocket }, { 27, DuplicateSocket }
}; };
_isPrivileged = isPrivileged; _isPrivileged = isPrivileged;
@ -667,7 +667,7 @@ namespace Ryujinx.HLE.HOS.Services.Bsd
Family = (int)newSocket.AddressFamily, Family = (int)newSocket.AddressFamily,
Type = (int)newSocket.SocketType, Type = (int)newSocket.SocketType,
Protocol = (int)newSocket.ProtocolType, Protocol = (int)newSocket.ProtocolType,
Handle = newSocket, Handle = newSocket
}; };
_sockets.Add(newBsdSocket); _sockets.Add(newBsdSocket);

View file

@ -9,7 +9,7 @@
Output = 4, Output = 4,
Error = 8, Error = 8,
Disconnected = 0x10, Disconnected = 0x10,
Invalid = 0x20, Invalid = 0x20
} }
public int SocketFd { get; private set; } public int SocketFd { get; private set; }

View file

@ -38,7 +38,7 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
{ 10, Commit }, { 10, Commit },
{ 11, GetFreeSpaceSize }, { 11, GetFreeSpaceSize },
{ 12, GetTotalSpaceSize }, { 12, GetTotalSpaceSize },
{ 13, CleanDirectoryRecursively }, { 13, CleanDirectoryRecursively }
//{ 14, GetFileTimeStampRaw } //{ 14, GetFileTimeStampRaw }
}; };

View file

@ -5,26 +5,26 @@ namespace Ryujinx.HLE.HOS.Services.Hid
public enum HidNpadJoyAssignmentMode public enum HidNpadJoyAssignmentMode
{ {
Dual, Dual,
Single, Single
} }
public enum HidNpadHandheldActivationMode public enum HidNpadHandheldActivationMode
{ {
Dual, Dual,
Single, Single,
None, None
} }
public enum HidNpadJoyDeviceType public enum HidNpadJoyDeviceType
{ {
Left, Left,
Right, Right
} }
public enum HidNpadJoyHoldType public enum HidNpadJoyHoldType
{ {
Vertical, Vertical,
Horizontal, Horizontal
} }
[Flags] [Flags]
@ -36,6 +36,6 @@ namespace Ryujinx.HLE.HOS.Services.Hid
Dual = 1 << 2, Dual = 1 << 2,
Left = 1 << 3, Left = 1 << 3,
Right = 1 << 4, Right = 1 << 4,
Invalid = 1 << 5, Invalid = 1 << 5
} }
} }

View file

@ -10,7 +10,7 @@
{ {
None, None,
Left, Left,
Right, Right
} }
public struct HidVibrationDeviceValue public struct HidVibrationDeviceValue

View file

@ -145,7 +145,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
{ 512, ReadPalmaUniqueCode }, { 512, ReadPalmaUniqueCode },
{ 513, SetPalmaUniqueCodeInvalid }, { 513, SetPalmaUniqueCodeInvalid },
{ 1000, SetNpadCommunicationMode }, { 1000, SetNpadCommunicationMode },
{ 1001, GetNpadCommunicationMode }, { 1001, GetNpadCommunicationMode }
}; };
_npadStyleSetUpdateEvent = new KEvent(system); _npadStyleSetUpdateEvent = new KEvent(system);
@ -432,7 +432,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
_sensorFusionParams = new HidSensorFusionParameters() _sensorFusionParams = new HidSensorFusionParameters()
{ {
RevisePower = context.RequestData.ReadInt32(), RevisePower = context.RequestData.ReadInt32(),
ReviseRange = context.RequestData.ReadInt32(), ReviseRange = context.RequestData.ReadInt32()
}; };
long appletResourceUserId = context.RequestData.ReadInt64(); long appletResourceUserId = context.RequestData.ReadInt64();
@ -487,7 +487,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
_accelerometerParams = new HidAccelerometerParameters() _accelerometerParams = new HidAccelerometerParameters()
{ {
X = context.RequestData.ReadInt32(), X = context.RequestData.ReadInt32(),
Y = context.RequestData.ReadInt32(), Y = context.RequestData.ReadInt32()
}; };
long appletResourceUserId = context.RequestData.ReadInt64(); long appletResourceUserId = context.RequestData.ReadInt64();

View file

@ -118,7 +118,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldr
{ 1, UnloadNro }, { 1, UnloadNro },
{ 2, LoadNrr }, { 2, LoadNrr },
{ 3, UnloadNrr }, { 3, UnloadNrr },
{ 4, Initialize }, { 4, Initialize }
}; };
_nrrInfos = new List<NrrInfo>(MaxNrr); _nrrInfos = new List<NrrInfo>(MaxNrr);

View file

@ -14,7 +14,7 @@ namespace Ryujinx.HLE.HOS.Services.Lr
{ {
_commands = new Dictionary<int, ServiceProcessRequest>() _commands = new Dictionary<int, ServiceProcessRequest>()
{ {
{ 0, OpenLocationResolver }, { 0, OpenLocationResolver }
}; };
} }

View file

@ -1705,7 +1705,7 @@ namespace Ryujinx.HLE.HOS.Services.Set
{ "time!standard_steady_clock_rtc_update_interval_minutes", 5 }, { "time!standard_steady_clock_rtc_update_interval_minutes", 5 },
{ "time!standard_network_clock_sufficient_accuracy_minutes", 43200 }, { "time!standard_network_clock_sufficient_accuracy_minutes", 43200 },
{ "usb!usb30_force_enabled", false }, { "usb!usb30_force_enabled", false },
{ "wlan_debug!skip_wlan_boot", false }, { "wlan_debug!skip_wlan_boot", false }
}; };
} }
} }

View file

@ -17,6 +17,6 @@
BadHints, BadHints,
Protocol, Protocol,
Overflow, Overflow,
Max, Max
} }
} }

View file

@ -28,7 +28,7 @@ namespace Ryujinx.HLE.HOS.Services.Sfdnsres
{ 5, GetGaiStringError }, { 5, GetGaiStringError },
{ 8, RequestCancelHandle }, { 8, RequestCancelHandle },
{ 9, CancelSocketCall }, { 9, CancelSocketCall },
{ 11, ClearDnsAddresses }, { 11, ClearDnsAddresses }
}; };
} }

View file

@ -8,6 +8,6 @@
TryAgain, TryAgain,
NoRecovery, NoRecovery,
NoData, NoData,
NoAddress = NoData, NoAddress = NoData
} }
} }

View file

@ -147,6 +147,6 @@ namespace Ryujinx.HLE.Utilities
RfKill = 132 /* Operation not possible due to RF-kill */, RfKill = 132 /* Operation not possible due to RF-kill */,
HwPoison = 133 /* Memory page has hardware error */, HwPoison = 133 /* Memory page has hardware error */
} }
} }

View file

@ -126,6 +126,6 @@
* buffer in general */ * buffer in general */
QosTrafficCtrlError = (BaseError + 1014), QosTrafficCtrlError = (BaseError + 1014),
/* problem with some part of the flowspec */ /* problem with some part of the flowspec */
QosGenericError = (BaseError + 1015), QosGenericError = (BaseError + 1015)
} }
} }