nn::os::SetDeviceMemorySize Function

Syntax

#include <nn/os.h>

Result SetDeviceMemorySize(
     size_t size
);

Arguments

Name Description
in size Specifies the new device memory size. The size argument must be a multiple of 4096. It is possible to reset a different size of device memory, but when doing so both the size before changing and the size after changing must be multiples of 1048576 (1 MB).

Return Values

Description

Changes the size of the device memory.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL