0
0
Fork 0

rename some services (#63)

This commit is contained in:
emmauss 2018-03-22 01:30:10 +02:00 committed by gdkchan
parent e2a80ba29e
commit 3c82c8de8c
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();