mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-07 12:11:06 +02:00
Implement GetCacheStorageMax (#5)
Fixes this problem `|W| HLE.OsThread.47 KernelIpc CallCmifMethod: Missing service Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.ApplicationProxy.IApplicationFunctions: 29 ignored` Allows add-on content from Just Dance 2023/2024/2025 to be loaded.
This commit is contained in:
+13
@@ -269,6 +269,19 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.Applicati
|
|||||||
return ResultCode.Success;
|
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)]
|
[CommandCmif(30)]
|
||||||
// BeginBlockingHomeButtonShortAndLongPressed()
|
// BeginBlockingHomeButtonShortAndLongPressed()
|
||||||
public ResultCode BeginBlockingHomeButtonShortAndLongPressed(ServiceCtx context)
|
public ResultCode BeginBlockingHomeButtonShortAndLongPressed(ServiceCtx context)
|
||||||
|
|||||||
Reference in New Issue
Block a user