rename some services

This commit is contained in:
emmaus 2018-03-21 18:32:32 +00:00
parent e2a80ba29e
commit 06aae0ff97
4 changed files with 8 additions and 8 deletions

View file

@ -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;
}

View file

@ -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>()
{

View file

@ -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>()
{

View file

@ -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();