Freeing display list allocations
This commit is contained in:
@@ -217,8 +217,8 @@ void geo_layout_cmd_node_root(void) {
|
||||
|
||||
graphNode = init_graph_node_root(gGraphNodePool, NULL, 0, x, y, width, height);
|
||||
|
||||
// TODO: check type
|
||||
gGeoViews = alloc_only_pool_alloc(gGraphNodePool, gGeoNumViews * sizeof(struct GraphNode *));
|
||||
// gGeoViews is unused in libsm64
|
||||
gGeoViews = NULL; // alloc_only_pool_alloc(gGraphNodePool, gGeoNumViews * sizeof(struct GraphNode *));
|
||||
|
||||
graphNode->views = gGeoViews;
|
||||
graphNode->numViews = gGeoNumViews;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "../include/PR/gbi.h"
|
||||
|
||||
#include "../include/types.h"
|
||||
#include "../../memory.h"
|
||||
#include "../memory.h"
|
||||
|
||||
#define GRAPH_RENDER_ACTIVE (1 << 0)
|
||||
#define GRAPH_RENDER_CHILDREN_FIRST (1 << 1)
|
||||
|
||||
Reference in New Issue
Block a user