OSGetConsoleSimulatedMem1Size

Syntax

#include <revolution/os.h>

u32 OSGetConsoleSimulatedMem1Size(void);

#define OSGetConsoleSimulatedMemSize OSGetConsoleSimulatedMem1Size

Arguments

None.

Return Values

The size of internal main memory (MEM1) that simulates a console. Normally 0x018000000 (24 MB).

Description

Gets the size of the internal main memory (MEM1) that simulates a console. The size of internal main memory on the Wii is the same for the development machine and the production machine, and hence the value returned by this function is always equal to the value returned by the OSGetPhysicalMem1Size function.

To maintain backward compatibility, it is also defined as the name OSGetConsoleSimulatedMemSize.

See Also

OSGetPhysicalMem1Size, OSGetConsoleSimulatedMem2Size, OSGetPhysicalMem2Size

Revision History

2007/10/31 Corrected an error in the Syntax.
2006/03/01 Initial version.


CONFIDENTIAL