implement GetCacheStorageMax

Fixes this Problem
"|W| HLE.OsThread.47 KernelIpc CallCmifMethod: Missing service Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.ApplicationProxy.IApplicationFunctions: 29 ignored"
This commit is contained in:
RyllGanda17 2025-04-05 08:27:47 +08:00 committed by GitHub
parent 191819488e
commit 7cc4091e9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -269,6 +269,19 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.Applicati
return ResultCode.Success;
}
[CommandCmif(29)] // 11.0.0+
// GetCacheStorageMax() -> (s32 cache_storage_index_max, s64 cache_storage_data_and_journal_size_max)
public ResultCode GetCacheStorageMax(ServiceCtx context)
{
ApplicationControlProperty nacp = context.Device.Processes.ActiveApplication.ApplicationControlProperties;
context.ResponseData.Write((Int32)nacp.CacheStorageIndexMax);
context.ResponseData.Write(0);
context.ResponseData.Write(nacp.CacheStorageDataAndJournalSizeMax);
return ResultCode.Success;
}
[CommandCmif(30)]
// BeginBlockingHomeButtonShortAndLongPressed()
public ResultCode BeginBlockingHomeButtonShortAndLongPressed(ServiceCtx context)