From 85dbb9559ad317a657dafd24da27fec4b3f5250f Mon Sep 17 00:00:00 2001 From: Alex Barney <thealexbarney@gmail.com> Date: Tue, 4 Dec 2018 14:23:37 -0600 Subject: Adjust naming conventions and general refactoring in HLE Project (#490) * Rename enum fields * Naming conventions * Remove unneeded ".this" * Remove unneeded semicolons * Remove unused Usings * Don't use var * Remove unneeded enum underlying types * Explicitly label class visibility * Remove unneeded @ prefixes * Remove unneeded commas * Remove unneeded if expressions * Method doesn't use unsafe code * Remove unneeded casts * Initialized objects don't need an empty constructor * Remove settings from DotSettings * Revert "Explicitly label class visibility" This reverts commit ad5eb5787cc5b27a4631cd46ef5f551c4ae95e51. * Small changes * Revert external enum renaming * Changes from feedback * Remove unneeded property setters --- Ryujinx.HLE/HOS/ErrorModule.cs | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'Ryujinx.HLE/HOS/ErrorModule.cs') diff --git a/Ryujinx.HLE/HOS/ErrorModule.cs b/Ryujinx.HLE/HOS/ErrorModule.cs index 5c6c9b05..e13d5e84 100644 --- a/Ryujinx.HLE/HOS/ErrorModule.cs +++ b/Ryujinx.HLE/HOS/ErrorModule.cs @@ -8,18 +8,18 @@ namespace Ryujinx.HLE.HOS Htcs = 4, Ncm = 5, Dd = 6, - Debug_Monitor = 7, + DebugMonitor = 7, Lr = 8, Loader = 9, - IPC_Command_Interface = 10, - IPC = 11, + IpcCommandInterface = 10, + Ipc = 11, Pm = 15, Ns = 16, Socket = 17, Htc = 18, - Ncm_Content = 20, + NcmContent = 20, Sm = 21, - RO_Userland = 22, + RoUserland = 22, SdMmc = 24, Ovln = 25, Spl = 26, @@ -41,13 +41,13 @@ namespace Ryujinx.HLE.HOS Pcie = 120, Friends = 121, Bcat = 122, - SSL = 123, + Ssl = 123, Account = 124, News = 125, Mii = 126, Nfc = 127, Am = 128, - Play_Report = 129, + PlayReport = 129, Ahid = 130, Qlaunch = 132, Pcv = 133, @@ -64,23 +64,23 @@ namespace Ryujinx.HLE.HOS Ec = 144, ETicket = 145, Ngc = 146, - Error_Report = 147, + ErrorReport = 147, Apm = 148, Profiler = 150, - Error_Upload = 151, + ErrorUpload = 151, Audio = 153, Npns = 154, - Npns_Http_Stream = 155, + NpnsHttpStream = 155, Arp = 157, Swkbd = 158, Boot = 159, - Nfc_Mifare = 161, - Userland_Assert = 162, + NfcMifare = 161, + UserlandAssert = 162, Fatal = 163, - Nim_Shop = 164, + NimShop = 164, Spsm = 165, Bgtc = 167, - Userland_Crash = 168, + UserlandCrash = 168, SRepo = 180, Dauth = 181, Hid = 202, @@ -92,10 +92,10 @@ namespace Ryujinx.HLE.HOS Web = 210, Grc = 212, Migration = 216, - Migration_Ldc_Server = 217, - General_Web_Applet = 800, - Wifi_Web_Auth_Applet = 809, - Whitelisted_Applet = 810, + MigrationLdcServer = 217, + GeneralWebApplet = 800, + WifiWebAuthApplet = 809, + WhitelistedApplet = 810, ShopN = 811 } } -- cgit v1.2.3-70-g09d2