Fix args
This commit is contained in:
parent
5ade51cf01
commit
8bf68c19b2
2 changed files with 8 additions and 8 deletions
|
@ -14,7 +14,7 @@ namespace Ryujinx.Horizon.Ptm.Ipc
|
|||
public const int MaximumTemperature = 100;
|
||||
|
||||
[CmifCommand(0)] // 1.0.0-16.1.0
|
||||
public Result GetTemperatureRange(Location location, out int minimumTemperature, out int maximumTemperature)
|
||||
public Result GetTemperatureRange(out int minimumTemperature, out int maximumTemperature, Location location)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServicePtm, new { location });
|
||||
|
||||
|
@ -25,7 +25,7 @@ namespace Ryujinx.Horizon.Ptm.Ipc
|
|||
}
|
||||
|
||||
[CmifCommand(1)] // 1.0.0-16.1.0
|
||||
public Result GetTemperature(Location location, out int temperature)
|
||||
public Result GetTemperature(out int temperature, Location location)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServicePtm, new { location });
|
||||
|
||||
|
@ -43,7 +43,7 @@ namespace Ryujinx.Horizon.Ptm.Ipc
|
|||
}
|
||||
|
||||
[CmifCommand(3)] // 1.0.0-13.2.1
|
||||
public Result GetTemperatureMilliC(Location location, out int temperatureMilliC)
|
||||
public Result GetTemperatureMilliC(out int temperatureMilliC, Location location)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServicePtm, new { location });
|
||||
|
||||
|
@ -53,7 +53,7 @@ namespace Ryujinx.Horizon.Ptm.Ipc
|
|||
}
|
||||
|
||||
[CmifCommand(4)] // 8.0.0+
|
||||
Result IMeasurementServer.OpenSession(DeviceCode deviceCode, out ISession session)
|
||||
public Result OpenSession(out ISession session, DeviceCode deviceCode)
|
||||
{
|
||||
session = new Session(deviceCode);
|
||||
|
||||
|
|
|
@ -5,10 +5,10 @@ namespace Ryujinx.Horizon.Sdk.Ts
|
|||
{
|
||||
interface IMeasurementServer : IServiceObject
|
||||
{
|
||||
Result GetTemperatureRange(Location location, out int minimumTemperature, out int maximumTemperature);
|
||||
Result GetTemperature(Location location, out int temperature);
|
||||
Result GetTemperatureRange(out int minimumTemperature, out int maximumTemperature, Location location);
|
||||
Result GetTemperature(out int temperature, Location location);
|
||||
Result SetMeasurementMode(Location location, byte measurementMode);
|
||||
Result GetTemperatureMilliC(Location location, out int temperatureMilliC);
|
||||
Result OpenSession(DeviceCode deviceCode, out ISession session);
|
||||
Result GetTemperatureMilliC(out int temperatureMilliC, Location location);
|
||||
Result OpenSession(out ISession session, DeviceCode deviceCode);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue