aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Ptm
diff options
context:
space:
mode:
authorAlex Barney <thealexbarney@gmail.com>2023-04-14 16:00:34 -0700
committerGitHub <noreply@github.com>2023-04-14 20:00:34 -0300
commit11ecff2ff04633d261b9a43db792f6438df63f40 (patch)
treea6d8524f119834d75cc586c2d456d41fcb292704 /Ryujinx.HLE/HOS/Services/Ptm
parent4c3f09644a033dbf70258c4c0e5a848263b16bbd (diff)
Rename Hipc to Cmif where appropriate (#3880)
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Ptm')
-rw-r--r--Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmServer.cs6
-rw-r--r--Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmSession.cs10
-rw-r--r--Ryujinx.HLE/HOS/Services/Ptm/Ts/IMeasurementServer.cs4
3 files changed, 10 insertions, 10 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmServer.cs b/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmServer.cs
index 96a503d4..4e3d3e8e 100644
--- a/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmServer.cs
+++ b/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmServer.cs
@@ -7,7 +7,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
{
public IPsmServer(ServiceCtx context) { }
- [CommandHipc(0)]
+ [CommandCmif(0)]
// GetBatteryChargePercentage() -> u32
public static ResultCode GetBatteryChargePercentage(ServiceCtx context)
{
@@ -20,7 +20,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
- [CommandHipc(1)]
+ [CommandCmif(1)]
// GetChargerType() -> u32
public static ResultCode GetChargerType(ServiceCtx context)
{
@@ -33,7 +33,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
- [CommandHipc(7)]
+ [CommandCmif(7)]
// OpenSession() -> IPsmSession
public ResultCode OpenSession(ServiceCtx context)
{
diff --git a/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmSession.cs b/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmSession.cs
index 9b4e996d..5d11f227 100644
--- a/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmSession.cs
+++ b/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmSession.cs
@@ -16,7 +16,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
_stateChangeEventHandle = -1;
}
- [CommandHipc(0)]
+ [CommandCmif(0)]
// BindStateChangeEvent() -> KObject
public ResultCode BindStateChangeEvent(ServiceCtx context)
{
@@ -37,7 +37,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
- [CommandHipc(1)]
+ [CommandCmif(1)]
// UnbindStateChangeEvent()
public ResultCode UnbindStateChangeEvent(ServiceCtx context)
{
@@ -52,7 +52,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
- [CommandHipc(2)]
+ [CommandCmif(2)]
// SetChargerTypeChangeEventEnabled(u8)
public ResultCode SetChargerTypeChangeEventEnabled(ServiceCtx context)
{
@@ -63,7 +63,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
- [CommandHipc(3)]
+ [CommandCmif(3)]
// SetPowerSupplyChangeEventEnabled(u8)
public ResultCode SetPowerSupplyChangeEventEnabled(ServiceCtx context)
{
@@ -74,7 +74,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
- [CommandHipc(4)]
+ [CommandCmif(4)]
// SetBatteryVoltageStateChangeEventEnabled(u8)
public ResultCode SetBatteryVoltageStateChangeEventEnabled(ServiceCtx context)
{
diff --git a/Ryujinx.HLE/HOS/Services/Ptm/Ts/IMeasurementServer.cs b/Ryujinx.HLE/HOS/Services/Ptm/Ts/IMeasurementServer.cs
index d5a30097..6ddc0aef 100644
--- a/Ryujinx.HLE/HOS/Services/Ptm/Ts/IMeasurementServer.cs
+++ b/Ryujinx.HLE/HOS/Services/Ptm/Ts/IMeasurementServer.cs
@@ -10,7 +10,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Ts
public IMeasurementServer(ServiceCtx context) { }
- [CommandHipc(1)]
+ [CommandCmif(1)]
// GetTemperature(Location location) -> u32
public ResultCode GetTemperature(ServiceCtx context)
{
@@ -23,7 +23,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Ts
return ResultCode.Success;
}
- [CommandHipc(3)]
+ [CommandCmif(3)]
// GetTemperatureMilliC(Location location) -> u32
public ResultCode GetTemperatureMilliC(ServiceCtx context)
{