Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
heap_start.c File Reference
#include "common.h"
#include "engine/heap.h"
Include dependency graph for heap_start.c:

Go to the source code of this file.

Variables

MemBlock * HEAP_START = HEAP_BASE
 The first of the executable's small data (.sdata), where $gp points.
 

Variable Documentation

◆ HEAP_START

MemBlock* HEAP_START = HEAP_BASE

The first of the executable's small data (.sdata), where $gp points.

system/heap.c reads it through its address: defined there, a -G8 unit, GCC would read it through $gp. Its owner is linked before game/items, whose small data come next.

Definition at line 10 of file heap_start.c.

Referenced by initHeap().