From ddb2ceb073bf22ea08282c5028835d726d5433db Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Thu, 31 Oct 2019 12:33:58 -0500 Subject: [PATCH] Add GetProgramIndexForAccessLog Ryujinx only runs one program at a time, so always return values reflecting that --- Ryujinx.HLE/HOS/Services/Fs/IFileSystemProxy.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Ryujinx.HLE/HOS/Services/Fs/IFileSystemProxy.cs b/Ryujinx.HLE/HOS/Services/Fs/IFileSystemProxy.cs index 9b3da35f35..60f4a3f434 100644 --- a/Ryujinx.HLE/HOS/Services/Fs/IFileSystemProxy.cs +++ b/Ryujinx.HLE/HOS/Services/Fs/IFileSystemProxy.cs @@ -440,5 +440,17 @@ namespace Ryujinx.HLE.HOS.Services.Fs return ResultCode.Success; } + + [Command(1011)] + public ResultCode GetProgramIndexForAccessLog(ServiceCtx context) + { + int programIndex = 0; + int programCount = 1; + + context.ResponseData.Write(programIndex); + context.ResponseData.Write(programCount); + + return ResultCode.Success; + } } } \ No newline at end of file