| 35 | } |
| 36 | |
| 37 | void P64::NodeGraph::Instance::load(uint16_t assetIdx) |
| 38 | { |
| 39 | asset = assetIdx; |
| 40 | graphDef = (GraphDef*)AssetManager::getByIndex(asset); |
| 41 | debugf("Stack-size: %d %d\n", asset, graphDef->stackSize); |
| 42 | corot = coro_create(graphDef->func, this, graphDef->stackSize*2); |
| 43 | } |
| 44 | |
| 45 | P64::NodeGraph::Instance::~Instance() |
| 46 | { |