diff options
author | BaronKiko <BaronKiko@users.noreply.github.com> | 2019-04-16 00:22:55 +0100 |
---|---|---|
committer | jduncanator <1518948+jduncanator@users.noreply.github.com> | 2019-04-16 09:22:55 +1000 |
commit | b2e88b04a85b41cc60af3485d88c90429e84a218 (patch) | |
tree | 77368650d0a1adf0fda2dbb61a6fe00e1b7e3f56 /Ryujinx.HLE/HOS/Services/DummyService.cs | |
parent | 233fc95e1e656f3932f57005d24b76fb750e7704 (diff) |
Config option to ignore missing services (#658)
* Implemented config option to ignore missing services
* Removed unused using statement
* Resolved comments from review
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/DummyService.cs')
-rw-r--r-- | Ryujinx.HLE/HOS/Services/DummyService.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/DummyService.cs b/Ryujinx.HLE/HOS/Services/DummyService.cs new file mode 100644 index 00000000..28087bdf --- /dev/null +++ b/Ryujinx.HLE/HOS/Services/DummyService.cs @@ -0,0 +1,20 @@ +using Ryujinx.HLE.HOS.Ipc; +using System.Collections.Generic; + +namespace Ryujinx.HLE.HOS.Services +{ + class DummyService : IpcService + { + private Dictionary<int, ServiceProcessRequest> _commands; + + public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands; + + public string ServiceName { get; set; } + + public DummyService(string serviceName) + { + _commands = new Dictionary<int, ServiceProcessRequest>(); + ServiceName = serviceName; + } + } +} |