forked from Mirror/Ryujinx
Implemented ISystemSettingsServer.IsUserSystemClockAutomaticCorrectionEnabled (#1932)
* Added IsUserSystemClockAutomaticCorrectionEnabled This is used when a game want to check if you game is synced with a server * Update ISystemSettingsServer.cs * Implemented OpenDataStorageWithProgramIndex * Update IFileSystemProxy.cs * Commited that file on accidant * Update IFileSystemProxy.cs * Revert "Merge branch 'master' of https://github.com/Joshi234/Ryujinx" This reverts commit375f430455
, reversing changes made to672e2c8f7d
. * Revert "Update IFileSystemProxy.cs" This reverts commit672e2c8f7d
. * Update IFileSystemProxy.cs * Update ISystemSettingsServer.cs * removed accidantel addition of IFileSystemProxy.OpenDataStorageWithProgramIndex * Update Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Fix formating and add missing stub * Update ISystemSettingsServer.cs * Update ISystemSettingsServer.cs Co-authored-by: Ac_K <Acoustik666@gmail.com>
This commit is contained in:
parent
5ea7d77981
commit
51f7cc1483
1 changed files with 13 additions and 1 deletions
|
@ -220,6 +220,18 @@ namespace Ryujinx.HLE.HOS.Services.Settings
|
|||
return ResultCode.Success;
|
||||
}
|
||||
|
||||
[Command(60)]
|
||||
// IsUserSystemClockAutomaticCorrectionEnabled() -> bool
|
||||
public ResultCode IsUserSystemClockAutomaticCorrectionEnabled(ServiceCtx context)
|
||||
{
|
||||
// NOTE: When set to true, is automatically synced with the internet.
|
||||
context.ResponseData.Write(true);
|
||||
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceSet, "Stubbed");
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
|
||||
public byte[] GetFirmwareData(Switch device)
|
||||
{
|
||||
long titleId = 0x0100000000000809;
|
||||
|
@ -267,4 +279,4 @@ namespace Ryujinx.HLE.HOS.Services.Settings
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue