فهرست منبع

rename some services (#63)

emmauss 8 سال پیش
والد
کامیت
3c82c8de8c

+ 2 - 2
Ryujinx.Core/OsHle/Services/Am/ISelfController.cs

@@ -13,7 +13,7 @@ namespace Ryujinx.Core.OsHle.Services.Am
         {
             m_Commands = new Dictionary<int, ServiceProcessRequest>()
             {
-                { 1,  Exit                                  },
+                { 1,  LockExit                              },
                 { 10, SetScreenShotPermission               },
                 { 11, SetOperationModeChangedNotification   },
                 { 12, SetPerformanceModeChangedNotification },
@@ -23,7 +23,7 @@ namespace Ryujinx.Core.OsHle.Services.Am
             };
         }
 
-        public long Exit(ServiceCtx Context)
+        public long LockExit(ServiceCtx Context)
         {
             return 0;
         }

+ 2 - 2
Ryujinx.Core/OsHle/Services/Aud/ServiceAudOut.cs → Ryujinx.Core/OsHle/Services/Aud/IAudioOutManager.cs

@@ -7,13 +7,13 @@ using System.Text;
 
 namespace Ryujinx.Core.OsHle.Services.Aud
 {
-    class ServiceAudOut : IpcService
+    class IAudioOutManager : IpcService
     {
         private Dictionary<int, ServiceProcessRequest> m_Commands;
 
         public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
 
-        public ServiceAudOut()
+        public IAudioOutManager()
         {
             m_Commands = new Dictionary<int, ServiceProcessRequest>()
             {

+ 2 - 2
Ryujinx.Core/OsHle/Services/Aud/ServiceAudRen.cs → Ryujinx.Core/OsHle/Services/Aud/IAudioRendererManager.cs

@@ -3,13 +3,13 @@ using System.Collections.Generic;
 
 namespace Ryujinx.Core.OsHle.Services.Aud
 {
-    class ServiceAudRen : IpcService
+    class IAudioRendererManager : IpcService
     {
         private Dictionary<int, ServiceProcessRequest> m_Commands;
 
         public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
 
-        public ServiceAudRen()
+        public IAudioRendererManager()
         {
             m_Commands = new Dictionary<int, ServiceProcessRequest>()
             {

+ 2 - 2
Ryujinx.Core/OsHle/Services/ServiceFactory.cs

@@ -44,10 +44,10 @@ namespace Ryujinx.Core.OsHle.Services
                     return new ServiceAppletOE();
 
                 case "audout:u":
-                    return new ServiceAudOut();
+                    return new IAudioOutManager();
 
                 case "audren:u":
-                    return new ServiceAudRen();
+                    return new IAudioRendererManager();
 
                 case "bsd:s":
                     return new ServiceBsd();