Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

Module heap

Module heap 

Source
Expand description

Bump allocator gated behind the alloc feature.

A tiny GlobalAlloc that never frees – fine for PS1 homebrew that uses a permanent arena for assets and scratch buffers. Replace with a real allocator (linked_list_allocator, talc, …) when the engine needs deallocation.

Functions§

init⚠
Seed the allocator from start, spanning size bytes.