aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle/Services/Caps
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-04-22 01:21:49 -0300
committergdkchan <gab.dark.100@gmail.com>2018-04-22 01:22:46 -0300
commitbd9b1e2c6b912c7cdab55ec6acc063c88a59cff1 (patch)
tree077ab8da47828f9fd23893eeefa54c7d8fb2a314 /Ryujinx.Core/OsHle/Services/Caps
parent4906acdde96c09b4e12a3801a4bacd5233a2f8e6 (diff)
Stub a few services, add support for generating call stacks on the CPU
Diffstat (limited to 'Ryujinx.Core/OsHle/Services/Caps')
-rw-r--r--Ryujinx.Core/OsHle/Services/Caps/IAlbumAccessorService.cs20
-rw-r--r--Ryujinx.Core/OsHle/Services/Caps/IScreenshotService.cs20
2 files changed, 40 insertions, 0 deletions
diff --git a/Ryujinx.Core/OsHle/Services/Caps/IAlbumAccessorService.cs b/Ryujinx.Core/OsHle/Services/Caps/IAlbumAccessorService.cs
new file mode 100644
index 00000000..d92f3e53
--- /dev/null
+++ b/Ryujinx.Core/OsHle/Services/Caps/IAlbumAccessorService.cs
@@ -0,0 +1,20 @@
+using Ryujinx.Core.OsHle.Ipc;
+using System.Collections.Generic;
+
+namespace Ryujinx.Core.OsHle.Services.Caps
+{
+ class IAlbumAccessorService : IpcService
+ {
+ private Dictionary<int, ServiceProcessRequest> m_Commands;
+
+ public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
+
+ public IAlbumAccessorService()
+ {
+ m_Commands = new Dictionary<int, ServiceProcessRequest>()
+ {
+ //...
+ };
+ }
+ }
+} \ No newline at end of file
diff --git a/Ryujinx.Core/OsHle/Services/Caps/IScreenshotService.cs b/Ryujinx.Core/OsHle/Services/Caps/IScreenshotService.cs
new file mode 100644
index 00000000..af9b53a8
--- /dev/null
+++ b/Ryujinx.Core/OsHle/Services/Caps/IScreenshotService.cs
@@ -0,0 +1,20 @@
+using Ryujinx.Core.OsHle.Ipc;
+using System.Collections.Generic;
+
+namespace Ryujinx.Core.OsHle.Services.Caps
+{
+ class IScreenshotService : IpcService
+ {
+ private Dictionary<int, ServiceProcessRequest> m_Commands;
+
+ public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
+
+ public IScreenshotService()
+ {
+ m_Commands = new Dictionary<int, ServiceProcessRequest>()
+ {
+ //...
+ };
+ }
+ }
+} \ No newline at end of file