rename some services (#63)
This commit is contained in:
parent
e2a80ba29e
commit
3c82c8de8c
4 changed files with 8 additions and 8 deletions
|
@ -13,7 +13,7 @@ namespace Ryujinx.Core.OsHle.Services.Am
|
||||||
{
|
{
|
||||||
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||||
{
|
{
|
||||||
{ 1, Exit },
|
{ 1, LockExit },
|
||||||
{ 10, SetScreenShotPermission },
|
{ 10, SetScreenShotPermission },
|
||||||
{ 11, SetOperationModeChangedNotification },
|
{ 11, SetOperationModeChangedNotification },
|
||||||
{ 12, SetPerformanceModeChangedNotification },
|
{ 12, SetPerformanceModeChangedNotification },
|
||||||
|
@ -23,7 +23,7 @@ namespace Ryujinx.Core.OsHle.Services.Am
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public long Exit(ServiceCtx Context)
|
public long LockExit(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,13 +7,13 @@ using System.Text;
|
||||||
|
|
||||||
namespace Ryujinx.Core.OsHle.Services.Aud
|
namespace Ryujinx.Core.OsHle.Services.Aud
|
||||||
{
|
{
|
||||||
class ServiceAudOut : IpcService
|
class IAudioOutManager : IpcService
|
||||||
{
|
{
|
||||||
private Dictionary<int, ServiceProcessRequest> m_Commands;
|
private Dictionary<int, ServiceProcessRequest> m_Commands;
|
||||||
|
|
||||||
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
|
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
|
||||||
|
|
||||||
public ServiceAudOut()
|
public IAudioOutManager()
|
||||||
{
|
{
|
||||||
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||||
{
|
{
|
|
@ -3,13 +3,13 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Ryujinx.Core.OsHle.Services.Aud
|
namespace Ryujinx.Core.OsHle.Services.Aud
|
||||||
{
|
{
|
||||||
class ServiceAudRen : IpcService
|
class IAudioRendererManager : IpcService
|
||||||
{
|
{
|
||||||
private Dictionary<int, ServiceProcessRequest> m_Commands;
|
private Dictionary<int, ServiceProcessRequest> m_Commands;
|
||||||
|
|
||||||
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
|
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
|
||||||
|
|
||||||
public ServiceAudRen()
|
public IAudioRendererManager()
|
||||||
{
|
{
|
||||||
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||||
{
|
{
|
|
@ -44,10 +44,10 @@ namespace Ryujinx.Core.OsHle.Services
|
||||||
return new ServiceAppletOE();
|
return new ServiceAppletOE();
|
||||||
|
|
||||||
case "audout:u":
|
case "audout:u":
|
||||||
return new ServiceAudOut();
|
return new IAudioOutManager();
|
||||||
|
|
||||||
case "audren:u":
|
case "audren:u":
|
||||||
return new ServiceAudRen();
|
return new IAudioRendererManager();
|
||||||
|
|
||||||
case "bsd:s":
|
case "bsd:s":
|
||||||
return new ServiceBsd();
|
return new ServiceBsd();
|
||||||
|
|
Loading…
Reference in a new issue