aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshi234 <46032261+Joshi234@users.noreply.github.com>2021-02-09 09:41:31 +0100
committerGitHub <noreply@github.com>2021-02-09 09:41:31 +0100
commit51f7cc1483f9c9b2a0c2a55693756c60238fb1b6 (patch)
tree7600a0963e667d37ffbc7e5f9f2c4c6cccc47bfb
parent5ea7d77981df75f4eede220bf25926af177ef808 (diff)
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 commit 375f43045507bc12e743ae1babc6f47bd72987f5, reversing changes made to 672e2c8f7da28160f2f575a16aaa135d232bf655. * Revert "Update IFileSystemProxy.cs" This reverts commit 672e2c8f7da28160f2f575a16aaa135d232bf655. * 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>
-rw-r--r--Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs b/Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs
index c41e6618..d19a5345 100644
--- a/Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs
+++ b/Ryujinx.HLE/HOS/Services/Settings/ISystemSettingsServer.cs
@@ -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
}
}
}
-} \ No newline at end of file
+}