From 560ccbeb2d55a4426ad2827bf7534d4a695431c2 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Fri, 12 Jul 2019 03:13:43 +0200 Subject: Refactoring commands handling (#728) * Refactoring commands handling - Use Reflection to handle commands ID. - Add all symbols (from SwIPC so not all time accurate). - Re-sort some services commands methods. - Some cleanup. - Keep some empty constructor for consistency. * Fix order in IProfile --- .../HOS/Services/Friend/IDaemonSuspendSessionService.cs | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'Ryujinx.HLE/HOS/Services/Friend/IDaemonSuspendSessionService.cs') diff --git a/Ryujinx.HLE/HOS/Services/Friend/IDaemonSuspendSessionService.cs b/Ryujinx.HLE/HOS/Services/Friend/IDaemonSuspendSessionService.cs index 0de74d78..0156e0b7 100644 --- a/Ryujinx.HLE/HOS/Services/Friend/IDaemonSuspendSessionService.cs +++ b/Ryujinx.HLE/HOS/Services/Friend/IDaemonSuspendSessionService.cs @@ -1,27 +1,11 @@ -using Ryujinx.HLE.HOS.Ipc; -using System.Collections.Generic; - namespace Ryujinx.HLE.HOS.Services.Friend { class IDaemonSuspendSessionService : IpcService { - private Dictionary _commands; - private FriendServicePermissionLevel PermissionLevel; - public override IReadOnlyDictionary Commands => _commands; - public IDaemonSuspendSessionService(FriendServicePermissionLevel permissionLevel) { - _commands = new Dictionary - { - //{ 0, Unknown0 }, // 4.0.0+ - //{ 1, Unknown1 }, // 4.0.0+ - //{ 2, Unknown2 }, // 4.0.0+ - //{ 3, Unknown3 }, // 4.0.0+ - //{ 4, Unknown4 }, // 4.0.0+ - }; - PermissionLevel = permissionLevel; } } -- cgit v1.2.3