nn::gx::CTR::SetMemAccessPrioMode Function

Syntax

void SetMemAccessPrioMode(
     MemAccessPrioMode mode
);

Parameters

Name Description
in mode Access priority mode setting.

Return Values

None.

Description

Sets priority of access to main memory (FCRAM).

MEM_ACCESS_PRIO_MODE_1 is the initial setting.

Raising the CPU's access priority can minimize the impact by GPU or other device operations on the time required for CPU operations involving main memory access.

Note: When MEM_ACCESS_PRIO_MODE_2 is specified, the display buffer is located in main memory, and the CPU is making a large number of memory accesses, vertical line noise sometimes occurs on the LCD screens due to insufficient transfer bandwidth for LCD display. To avoid this, either locate the display buffer in VRAM or specify another mode.

Revision History

2010/06/29
The descriptions of MEM_ACCESS_PRIO_MODE_3 and MEM_ACCESS_PRIO_MODE_4 were reversed, but they have now been fixed.
2010/06/23
Initial version.

CONFIDENTIAL