1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>OS_EnableMainExArena</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">OS_EnableMainExArena <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15  <PRE><CODE>#include &lt;nitro/os.h&gt;</CODE></PRE>
16  <PRE><CODE>void OS_EnableMainExArena( void );</CODE></PRE>
17</DL>
18<H2>Arguments</H2>
19<P>None.</P>
20<H2>Return Values</H2>
21<P>None.</P>
22<H2>Description</H2>
23<P>Declaration enabling use of expanded arena in main memory.</P>
24<P>The main memory expanded arena can never be used when there is no expanded main memory. This applies to operations on the DS.</P>
25<P>If you are going to call this function, do so before calling <a href="OS_InitArena.html"><code>OS_InitArena</code></a> or <a href="../init/OS_Init.html"><code>OS_Init</code></a>.( <code>OS_InitArena</code> is called from <code>OS_Init</code>.)</P>
26<P>To maintain compatibility with previous versions, there is also a way to specify <code>NITRO_MEMSIZE=8M</code> when compiling the OS library. (But even in this case, the main memory expanded arena cannot be used on the Nintendo DS.)</P>
27<H2>See Also</H2>
28<P><CODE><A href="OS_InitArena.html">OS_InitArena</A>, <A href="OS_DisableMainExArena.html">OS_DisableMainExArena</A><BR></CODE></P>
29<H2>Revision History</H2>
30<P>2004/12/21 Initial version.</P>
31<hr><p>CONFIDENTIAL</p></body>
32</HTML>