aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Warner <65521430+LukeWarnut@users.noreply.github.com>2022-10-27 16:15:57 -0700
committerGitHub <noreply@github.com>2022-10-27 23:15:57 +0000
commitd540af5dc0d45fc5057a99190fe3e896f6a01c19 (patch)
treed2188e03c26a3b978c8b4c17f187765f44ef04f8
parentf7c7b66fc0156e031eef1b37e41825c54ce29ff4 (diff)
AppletAE: stub SetRecordVolumeMuted (#3804)
* Update IIrSensorServer.cs * Update IIrSensorServer.cs * Apply suggestions from code review Addressed formatting feedback Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update IIrSensorServer.cs * Update ISelfController.cs * Update ISelfController.cs Co-authored-by: Ac_K <Acoustik666@gmail.com>
-rw-r--r--Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ISelfController.cs16
1 files changed, 15 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ISelfController.cs b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ISelfController.cs
index 7f0f66ea..e8bbf748 100644
--- a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ISelfController.cs
+++ b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ISelfController.cs
@@ -32,6 +32,7 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Sys
private bool _handlesRequestToDisplay = false;
private bool _autoSleepDisabled = false;
private bool _albumImageTakenNotificationEnabled = false;
+ private bool _recordVolumeMuted = false;
private uint _screenShotImageOrientation = 0;
private uint _idleTimeDetectionExtension = 0;
@@ -389,5 +390,18 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Sys
return ResultCode.Success;
}
+
+ [CommandHipc(130)] // 13.0.0+
+ // SetRecordVolumeMuted(b8)
+ public ResultCode SetRecordVolumeMuted(ServiceCtx context)
+ {
+ bool recordVolumeMuted = context.RequestData.ReadBoolean();
+
+ Logger.Stub?.PrintStub(LogClass.ServiceAm, new { recordVolumeMuted });
+
+ _recordVolumeMuted = recordVolumeMuted;
+
+ return ResultCode.Success;
+ }
}
-} \ No newline at end of file
+}