GetHioRequiredMemorySize

nn::fs::hio::GetHioRequiredMemorySize Function

Syntax

s32 GetHioRequiredMemorySize(
     size_t maxFile,
     size_t maxDirectory
);

Parameters

Name Description
in maxFile The maximum number of files that can be opened simultaneously.
in maxDirectory The maximum number of directories that can be opened simultaneously.

Return Values

Returns the calculated memory size.

Description

Gets the size of memory needed to mount a hio archive.

Returns the size of memory needed to mount a hio archive. This memory size is also sufficient to allow the simultaneous opening of both the number of files specified by maxFile and the number of directories specified by maxDirectory.

Revision History

2010/11/09
Initial version.

CONFIDENTIAL